Single Choice
Not Set
QWhat does the following statements do?
from datetime import *
print(datetime.today().strftime('%Y'))
ID: #3589
Python Module MCQ
194 views
Question Info
#3589Q ID
Not SetDifficulty
Python Module MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Displays the current year as 0001 to 9999
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic