i want to compare/subtract two date's due date from current date in python and apply a condition on this subtraction that if the difference is >0 days then calculate fine by multiplying difference with fine per day
from datetime import date a=date.today() issuedate=date(2019,5,9) duedate#should be 5 days after issue date i can't find the method for doing this check=a-duedate # if check>0days: # print(check days*40)