Jul-15-2020, 02:40 PM
(Jul-15-2020, 02:08 PM)oli_action Wrote: Is there anyway I can add "€" to the price?You use what @palladium showed,it's called
f-string
look at this tutorial.length = int(input("Please add the length of the property: ")) width = int(input("Please add the width of the property: ")) price_per_m2 = float(input("Please add the price per square meter: ")) total_price = length * width * price_per_m2 print(f"The price of the property is € {total_price}")