Single Choice Not Set

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

ID: #3582 Python Module MCQ 302 views
Question Info
#3582Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

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

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

Explanation

Displays the AM or PM equivalent for locale

Share This Question

Challenge a friend or share with your study group.