TORONTO KIDS COMPUTER CLUB | Monday Wednesday 10:00 Python Practice 20.07.13.
17933
post-template-default,single,single-post,postid-17933,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

Monday Wednesday 10:00 Python Practice 20.07.13.

14 Jul Monday Wednesday 10:00 Python Practice 20.07.13.

Question:

Write a program that helps the user add up her change. The program should ask:

  • “How many quarters?”
  • “How many dimes?”
  •  “How many nickels?”

Then it should give the total value of the change.

Hint:

  • You should create 3 variables to assign to the number of quarters, dimes and nickels.
  • You should consider to use int(input()) to give number of coins information to the computer
No Comments

Sorry, the comment form is closed at this time.