Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- money = int(input("Enter the amount of money IN GDP you wish to convert :"))
- USD = 1.25
- EUR = 1.17
- RUP = 83.87
- TNG = 419.83
- currency = input("Which currency would you like to convert the money into?")
- if currency == "USD":
- print(round(money * USD, 3))
- elif currency == "EUR":
- print(round(money * EUR, 3))
- elif currency == "RUP":
- print(round(money * RUP, 3))
- elif currency == "TNG":
- print(round(money * TNG, 3))
Advertisement
Add Comment
Please, Sign In to add comment