TORONTO KIDS COMPUTER CLUB | PMCA Sunday 14:00 Python Homework 20.10.25.
18541
post-template-default,single,single-post,postid-18541,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

PMCA Sunday 14:00 Python Homework 20.10.25.

31 Oct PMCA Sunday 14:00 Python Homework 20.10.25.

Question 1:
Write a program using while loop. The program will ask the user to enter an ingredient for pizza. Every time you enter an ingredient, the program will show the message “We will add …. into your pizza.”, until you enter “quit”.

Sample:
Please enter an ingredient for your pizza: mushroom
We will add mushroom into your pizza.
Please enter an ingredient for your pizza: green pepper
We will add green pepper into your pizza.
Please enter an ingredient for your pizza: cheese
We will add cheese into your pizza.
Please enter an ingredient for your pizza: quit

No Comments

Sorry, the comment form is closed at this time.