Computers and Technology, 06.04.2021 06:50 sabrinarea041904
# change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies
my code produces no output and i cant find why?
coin_change =int(input())
def coin_change(cents):
if cents <= 0:
print( 'Zero cents.')
else:
quarter = cents // 25
dime = (cents % 25) //10
nickle = cents % 25 % 10 // 5
penny = cents % 5
print (coin_change )
# produces no output
Answers: 2
Computers and Technology, 22.06.2019 04:30
Which of the statements below is true? the formatting, standard, and drawing commands are unavailable. the formatting, standard, and drawing commands have been used. the formatting, standard, and drawing toolbars are displayed. the formatting, standard, and drawing toolbars are hidden.
Answers: 1
Computers and Technology, 22.06.2019 09:00
Which best describes the condition under which the unicode output is the same as plain text?
Answers: 3
Computers and Technology, 22.06.2019 13:30
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
# change amount as an integer input, and output the change using the fewest coins, one coin type per...
Mathematics, 25.06.2019 23:00
History, 25.06.2019 23:00
English, 25.06.2019 23:00
Mathematics, 25.06.2019 23:00
Mathematics, 25.06.2019 23:00
Mathematics, 25.06.2019 23:00
English, 25.06.2019 23:00
Biology, 25.06.2019 23:00
Social Studies, 25.06.2019 23:00
Geography, 25.06.2019 23:00
Mathematics, 25.06.2019 23:00
Spanish, 25.06.2019 23:00
Mathematics, 25.06.2019 23:00