1.

The value returned when we use the function isoweekday() is ______ and that for the function weekday() is ________ if the system date is 19th June, 2017 (Monday).(a) 0,0(b) 0,1(c) 1,0(d) 1,1I had been asked this question in an online interview.My question comes from Datetime Module topic in section Mapping Functions and Modules of Python

Answer»

The correct choice is (C) 1,0

To EXPLAIN: The value returned when we use the function isoweekday() is 1 and that for the function weekday() is 0 if the SYSTEM DATE is 19TH June, 2017 (Monday).



Discussion

No Comment Found

Related InterviewSolutions