MCQ Single Best Answer Not Set

QWhat does the following statements do?


from datetime import *
print(datetime.today().strftime('%X'))

ID: #3587 Python Module MCQ 187 views
Question Info
#3587Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Displays the current year as 0001 to 9999
  • B Displays the timezone name
  • C Displays the time appropriate for locale
  • D Displays the current year as 00 to 99
Correct Answer: Option C

Explanation

Displays the time appropriate for locale

Share This Question

Challenge a friend or share with your study group.