newbiegirlx
New Coder
Hi, I'm a beginner to python so please bare with me.
Basically I have to write a program that calculates the minimum number of quarters, dimes, nickles, and pennies that I would need to make the change.
For those who are confused I have to mimic this:
This is what I've coded so far. I know the third line is horrible.
Basically I have to write a program that calculates the minimum number of quarters, dimes, nickles, and pennies that I would need to make the change.
For those who are confused I have to mimic this:
Code:
amount = float(input("Enter amount of change needed: $"))
print("The best way to make", (f"{amount}") , "change in coins is:")
print('\t Quarters:', format(f"{amount}", ">10"))
This is what I've coded so far. I know the third line is horrible.