#It prints the list of all the dates in the mm/dd/22 format. I can't figure out how to make an exception for the odd months having 30 days instead of 31. I've tried making a list outside the for loop for example:
n = list(range(1,31)
except it turns into loop hell and basically prints infinitely
Also I can't make an exception for the 28 days in February. Any further for loops within the already nested for loop prints nested 2/##/22.
for i in range(1,13):
for j in range(1,32):
if (i%2) == 0 and i !=2:
#test works
#figure out how to limit the days {j} from 31 to 30
print(f"{i}/{j}/22")
elif i == 2:
#figure out how to limit the dates {j} to 28
print(f"{i}/{j}/22")
else:
print(f"{i}/{j}/22")