How can i write a program which ask for two dates and calculate the number of days in between and also how many Fridays are there
python has a datetime modulo, which we can use. Look into which functions of this modulo suits you. (python has good documentation on this matter)
With this knowledge, design your program, then you can build it.
the only tricky bit would be to get from string (user input) to date time object, but a simple google search yields promising results:
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.