![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 06.04.2021 08:00 lilday2444
My code get an input of 1900 and it should output not a leap year but it fails first line of code. It should output not a Leap any number with 1500 not divisble by 4 with/out a remainder should output (not a leap year. )
input_year = int(input())
if input_year % 4 == 0: #fails on this step, 1900 should be false
print(input_year, "- is Leap Year")
elif input_year % 100 == 0:
print(input_year, "- leap year")
elif input_year % 400 ==0:
print(input_year, "is a leap year")
else:
print(input_year, "- not a leap year")
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 14:00
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 15:00
Jake really works well with numbers and is skilled with computers but doesn't work well with others. which of the jobs discussed in this unit might be best for jake? why?
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 11:00
Need fast im timed in a paragraph of 125 words, explain at least three ways that engineers explore possible solutions in their projects.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
You know the right answer?
My code get an input of 1900 and it should output not a leap year but it fails first line of code. I...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 17.07.2019 08:20
![question](/tpl/images/cats/en.png)
English, 17.07.2019 08:20
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2019 08:20
![question](/tpl/images/cats/geografiya.png)
Geography, 17.07.2019 08:20
![question](/tpl/images/cats/en.png)
English, 17.07.2019 08:20
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 17.07.2019 08:20
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 17.07.2019 08:20
![question](/tpl/images/cats/mat.png)
Mathematics, 17.07.2019 08:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 17.07.2019 08:20
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 17.07.2019 08:20
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 17.07.2019 08:20