What will be the correct output of the following Python code?
def abc():
y = 2018
if (y % 4) == 0:
if (y % 100) == 0:
if (y % 400) == 0:
print("0")
else:
print("1")
else:
print("0")
else:
print("1")
abc()
Correct Answer:
1
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions