0
Trying to solve leap year problem but this code is given me error. Please help..
year = int(input()) #your code goes here If (year % 4)!=0: print ("Not leap year")
4 ответов
+ 2
If you want quick solution, go to Code Playground and search using 'leap year' term. There will be loads of examples there for you to learn 👍
+ 1
Search it on google, it has answers for every code that you hear from some Coder
0
well..if you are talking about an error. The error probably because you are using capital I in your if. it should be
if year%4 != 0:
not
If year%4 != 0:
and the parentheses is not really important
0
https://code.sololearn.com/ck3rfWaoVTQI
some rough code that might help