0

How to calculate number of days in python ?

How to calculate number of days from today to entered date...?

17th Sep 2020, 12:49 PM
Nandini B N
3 Respuestas
+ 11
first rule of Q&A discussion forum show your attempt please . from datetime import date d0 = date(2017, 8, 18) d1 = date(2017, 10, 26) delta = d1 - d0 print(delta.days)
17th Sep 2020, 12:56 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
17th Sep 2020, 1:28 PM
Steven M
Steven M - avatar
0
OK thank you 🗡️Jasprit
17th Sep 2020, 1:27 PM
Nandini B N