Single Choice Not Set

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

ID: #3580 Python Module MCQ 299 views
Question Info
#3580Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

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

  • A Displays the month number from 01 to 12
  • B Displays the second number from 00 to 59
  • C Displays the AM or PM equivalent for locale
  • D Displays the minute number from 00 to 59
Correct Answer

Explanation

Displays the minute number from 00 to 59

Share This Question

Challenge a friend or share with your study group.