Sublime text not printing python output. I'm getting output for normal print()
function call, but the one in the if
statement is not printing anything.
year = int(input('enter year you want to check: '))
if year%4 == 0:
if year%100 ==0:
if year%400 == 0:
print('leap year')
else:
print('not leap year')
else:
print('leap year')
else:
print('not a leap year')
Screenshot showing no output printed: