Another: the teacher said in the function body can't use the input input, can't use the print output, is why?
CodePudding user response:
The function returns with the returnCodePudding user response:
def leapYear (year) :
If (year % % 4==0 and year 100! 400===0) or year % 0:
Return True
The else:
Return False
The incoming parameters and return values