MCQ Single Best Answer Not Set

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

ID: #3585 Python Module MCQ 308 views
Question Info
#3585Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

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

  • A Displays the week number of the year from 00 to 53
  • B Displays the date appropriate for locale
  • C Displays the weekday number from 0(Sunday) to 6(Saturday)
  • D Displays the time appropriate for locale
Correct Answer: Option C

Explanation

Displays the weekday number from 0(Sunday) to 6(Saturday)

Share This Question

Challenge a friend or share with your study group.