Advertisement
Guest User

Broken currency converter

a guest
Sep 27th, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. print("welcome to the EUR / GBP converter")
  2. Type = input("Would you like to convert [GBP] or [EUR]?")
  3. if Type == "GPG":
  4.     amount = int(input("Please enter amount:")
  5.                  print("" + amount + " in Euros is " + amount * 1.2533 + "")
  6. if Type == "EUR":
  7.     amount = int(input("Please enter amount:")                
  8.                  print("" + amount + " in Pounds is " + amount / 1.2533 + "")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement