Python 3 Convert Dollars to Cents in Python 6 years agoAdd Commentby Marc [jp_post_view] 1 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...