Update page 'Day 9 homework - Sloetjes'
@@ -57,3 +57,7 @@ print(get_all_modules_size())
|
||||
* If the `os` module has not been loaded yet, the value of the `os` key will be `NoneType`.
|
||||
|
||||
* If the os module has been loaded, the value of the os key will be a module object representing the `os` module.
|
||||
|
||||
**6. Import the os module. What happens when you type `type(os)`?**
|
||||
##### Answer:
|
||||
The `type()` function returns the type of the `os` module, which is a module object.
|
||||
Reference in New Issue
Block a user