Update page 'Day 9 homework - Sloetjes'

xuanyi.wang
2023-04-19 04:58:07 +02:00
parent c19225ca5f
commit 6390a26c66
+1
@@ -63,6 +63,7 @@ print(get_all_modules_size())
* The `type()` function returns the type of the `os` module, which is a module object. * The `type()` function returns the type of the `os` module, which is a module object.
**7. Restart the Python interpreter. Can you figure out how to call `os.getlogin()` without saying `import os`?** **7. Restart the Python interpreter. Can you figure out how to call `os.getlogin()` without saying `import os`?**
###### Example:
``` ```
login = __import__('os').getlogin() login = __import__('os').getlogin()
print(login) print(login)