• API
• FAQ
• Tools
• Archive
SHARE
TWEET

# Untitled defbind_  Aug 20th, 2019 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. try:
2.     print(" Euro == 1 \n Pound == 2 \n Dollar == 3")
3.     user_amount = int(input("What's the currency you want sire? : "))
4.     user_input = int(input("How much of that currency you want to convert? :  "))
5.     print(" Euro == 1 \n Pound == 2 \n Dollar == 3")
6.     convert_input = int(input("Whats the currency you want to convert it to, sire? : "))
7. except ValueError:
8.     exit("RIP you didn't enter a number, soz mate")
9. de = ("Your total number is:   " + str(user_input / 1.11))
10. pd = ("Your total number is:   " + str(user_input * 1.21))
11. dp = ("Your total number is:   " + str(user_input / 1.21))
12. pe = ("Your total number is:   " + str(user_input * 1.09))
13. ep = ("Your total number is:   " + str(user_input / 1.09))
14. ed = ("Your total number is:   " + str(user_input * 1.11))
15. ee = ("Your total number is:   " + str(user_input * 1))
16. dd = ("Your total number is:   " + str(user_input * 1))
17. pp = ("Your total number is:   " + str(user_input * 1))
18. if user_amount == 1 and convert_input == 1:
19.     print(ee)
20. elif user_amount == 1 and convert_input == 2:
21.     print(ep)
22. elif user_amount == 1 and convert_input == 3:
23.     print(ed)
24. elif user_amount == 2 and convert_input == 1:
25.     print(pe)
26. elif user_amount == 2 and convert_input == 2:
27.     print(pp)
28. if user_amount == 2 and convert_input == 3:
29.     print(pd)
30. if user_amount == 3 and convert_input == 1:
31.     print(de)
32. if user_amount == 3 and convert_input == 2:
33.     print(dp)
34. if user_amount == 3 and convert_input == 3:
35.     print(dd)
36. exit("Program finished operating")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top