Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. conversions = { 'USD:GBP': 1.4 }
  2. value2 = input("How much do you want to convert?: ")
  3. value = float(value2)
  4. convertedvalue = value * conversions['USD:GBP']
  5. print("Converted rate", convertedvalue)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement