Answer to Question #74499 in Python for Aidan Burkholder

Question #74499
Write a program which reads an integer from input using pancakes = int(input()). If pancakes is more than 3, print out Yum! and if pancakes is not more than 3, print out Still hungry! instead.
1
Expert's answer
2018-03-13T08:47:53-0400
pancakes = int(input("Enter count of the pancakes:"))
if(pancakes > 3):
print("Yum!")
else:
print("Still hungry!")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS