1. Home
  2. All MCQs

All MCQs with Answers · Page 737

45,334 multiple choice questions from every subject, newest first. Switch on practice mode to hide the answers and test yourself.

Newest first

Which method converts a datetime to a formatted string in Python?

  1. strftime() Correct answer
  2. strptime()
  3. format_date()
  4. tostring()
MCQSEXAM Read explanation