For Python
Solved 1 Answer
See More Answers for FREE
Enhance your learning with StudyX
Receive support from our dedicated community users and experts
See up to 20 answers per week for free
Experience reliable customer service
  while True: data = input() item = data.split()[0] quantity = int(data.split()[1]) if item.lower() == "quit": break print("Eating " + str(quantity) + " " + item + " a day keeps the doctor away.")   apples 5Eating 5 apples a day keeps the doctor away. shoes 2Eating 2 shoes a day keeps the doctor away.quit 0Process finished with exit code 0     ...