MCQ Single Best Answer Not Set

QWhat does the following statements do?
from datetime import *
print(datetime.today().strftime('%c'))

ID: #3575 Python Module MCQ 293 views
Question Info
#3575Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

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

  • A Displays the date and time appropriate for locale
  • B Displays the microsecond number (from 0 to 999999)
  • C Displays the hour number of 12-hour clock
  • D Displays the hour number of 24-hour clock
Correct Answer: Option A

Explanation

Displays the date and time appropriate for locale

Share This Question

Challenge a friend or share with your study group.