Python 3Convert Dollars to Cents in Python6 years agoAdd Commentby Marc1 dollars =100cent Python Code: dollar_amount=float(input("Enter dollar amount :")) cents =float(dollar_amount * 100); print("$",dollar_amount," = Ā¢",cents) 12345 dollar_amount=float(input("Enter dollar amount :"))cents =float(dollar_amount * 100);print("$",dollar_amount," = Ā¢",cents) Output:Like this:Like Loading...