def main():
age = int(input("How old is your baby in
months? "))
time = int(input("Time it has been crying for
in minutes? "))
if age > 2 and time <
10:
print("Your baby is
fine!")
elif age < 3 and time <
10:
print("Your baby is hungry or
diapers need to be changed!")
elif age < 3 and time >
10:
print("Your baby is ill, it's
going to die.")
elif age > 3 and time >
10:
print("It's going to die soon anyways!")
age = int(input("How old is your baby in
months? "))
time = int(input("Time it has been crying for
in minutes? "))
if age > 2 and time <
10:
print("Your baby is
fine!")
elif age < 3 and time <
10:
print("Your baby is hungry or
diapers need to be changed!")
elif age < 3 and time >
10:
print("Your baby is ill, it's
going to die.")
elif age > 3 and time >
10:
print("It's going to die soon anyways!")