if statement python questions code example
Example: python if else interview questions
days = int(input("How many days in a leap year? "))
if days == 366:
print("You have cleared the test.")
print("Congrats!")
days = int(input("How many days in a leap year? "))
if days == 366:
print("You have cleared the test.")
print("Congrats!")