convert 145 days into month in Python

GOCOURSE

Convert 145 days into month:

Program:

days = 145
months = int(days / 30.4375)
print(months)

Output:

4


Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send