DateTime module
Qus. 1 : <p>What will be the output of the following Python code if the system date is 21st June, 2017 (Wednesday)?</p><pre><span style="font-size: 14px;">import datetime<br></span><span style="font-size: 14px;">tday=datetime.date.today()<br></span><span style="font-size: 14px;">print(tday.isoweekday())</span></pre><div><br></div>
- Wed
- Wednesday
- 2
- 3
Programs
python program to generate 3 random integers between 100 and 999 which is divisible by 5
python program to generate 6 digit random secure OTP between 100000 to 999999
python program to generate 6 random numbers and then print their mean median and mode
python program to print the calendar of given month and year
python program to print the calendar of given year