Programming Language Python Module MCQ Question #3569
Single Choice Not Set

QWhat does the following statements do?
import datetime
print(datetime.datetime.today())

ID: #3569 Python Module MCQ 238 views
Question Info
#3569Q ID
Not SetDifficulty
Python Module MCQTopic

Choose the Best Option

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

  • A Displays current date and time
  • B Displays a list of all the hours remaining till midnight
  • C Displays a random time from today's date
  • D Displays today's weekday name
Correct Answer

Explanation

Displays current date and time

Share This Question

Challenge a friend or share with your study group.