+ 1
Python
Code- import time print(time._name_) Output - time Explain how
3 RĂ©ponses
+ 2
Sandeep ,
quite confusing. to get help, you need to complete your post:
> what should your code do? (give a short but clear description)
> what is the input, and what output do you expect?
> the *code* that you have provided does not look like a serious try.
>> the certificates in your profile shows that you have *not finished* any of the python tutorials. it does not help you to give you an ``asap`` support. you need to learn the basics first.
+ 2
import time
print(time.__name__)
Remember though you need to properly dunder name
It is a simple way to verify that the time module has been successfully imported and to confirm its name. It's a basic check and not a test of the module's full functionality
0
Explain as soon as possible