- 1
I m not getting the code right in else statement about a leap year,can anyone give the code plz?
5 Réponses
+ 5
Gayathri Uppada Sorry I can't do it since I'm not a pro user.
Wait a bit. I think I have to modify it more.
Btw, did you notice that you posted the same question in 4 times?
Please try to avoid posting duplicate questions here.
Thanks!
https://www.sololearn.com/discuss/2699384/?ref=app
https://www.sololearn.com/discuss/2699475/?ref=app
https://www.sololearn.com/discuss/2699490/?ref=app
0
year = int(input())
if year%4==0:
if year%100==0:
if year%400==0:
print("Leap year")
else:
print("Not a leap year")
0
Here is my code
0
Still showing bugs when aftr run the code
0
Can u go to else statement lesson to run the program ,so u can understand my problm