diff --git a/365or366.py b/365or366.py new file mode 100644 index 0000000..29b688d --- /dev/null +++ b/365or366.py @@ -0,0 +1,4 @@ +year='2012' +if (int(year)%4==0 and int(year)%100!=0) or int(year)%400==0: + print(366) +else:print(365) \ No newline at end of file