CodePudding user response:
Code yes but you receive input there generally don't use eval if input is directly with integer int (input ())CodePudding user response:
It is best to post code, print (rn) (n)),Rn function, print (n;" Is a leap year)"
CodePudding user response:
def rn (n) :
If n % 4==0:
Print (n, 'is')
The else:
Print (' not ')
N=int (input (' input year '))
Rn (n)