The program determines which year is leap.
User enters a value, gets an answer, then the primary question should loop: "Which year ?:".
I can not loop it, tell me what am I doing wrong?
year = int(input("Which year?: ")) while True: if year % 4 != 0 or (year % 100 == 0 and year % 400 != 0): print("usual year") else: print("intercalary year") break