TORONTO KIDS COMPUTER CLUB | Aurora Thursday Saturday Python Homework 20.04.30.
17435
post-template-default,single,single-post,postid-17435,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

Aurora Thursday Saturday Python Homework 20.04.30.

02 May Aurora Thursday Saturday Python Homework 20.04.30.

Question 1:

A store is having a sale. They’re giving 10 percent off purchases of $10 or lower, and 20 percent off purchases of greater than $10. Write a program that asks the purchase price and displays the discount (10% or 20%) and the final price.


Question 2:

A soccer team is looking for girls from ages 10 to 12 to play on their team. Write a program to ask the user’s age and if male or female (using “m” or “f”). Display a message indicating whether the person is eligible to play on the team.

No Comments

Sorry, the comment form is closed at this time.