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!")
Comments
Leave a comment