Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!
Hey Mate and welcome,Hi I am a student and have been tasked to make a currency conveter but I need help
a line of code is not showing up this is the line of code SelectCurrency= str("input please select currency, select EUR, Select USD, Select BRL, Select JPY, Select TRY")
[
#currency converter
#Start
Value= float( input ("Please Enter Amount in GBP: "))
if Value < 50:
print ("Please enter a higher amount")
else:
print (Value)
#Currency Converetor
#Start
Value= float( input ("Please Enter Amount in GBP: "))
if Value < 50:
print ("Please enter a higher amount")
else:
print (Value)
SelectCurrency= str(input ("please select currency, select EUR, Select USD, Select BRL, Select JPY, Select TRY")
if SelectCurrency== 'EUR'
(value1=(Value* 1.14 )-Value *0.01)
(print ("£", Value, "is equal", value1,SelectCurrency)
# this line above changes the currency from GBP to Euro's by multiplying the GBP by 1.14
# it then subtracts the commission charge of 0.01 of the value of the transaction total
#the program then prints the correct conversion in Euro's from GBP
#Currency Converetor
#Start
Value = int(input ("Please Enter Amount in GBP: "))
if Value < 50:
print ("Please enter a higher amount")
else:
print (Value)
SelectCurrency = str(input ("please select currency, select EUR, Select USD, Select BRL, Select JPY, Select TRY:"))
if SelectCurrency == 'EUR':
value1 = (Value * 1.14) - (Value * 0.01)
print("£" + str(Value) + " is equal " + str(value1),SelectCurrency)
# this line above changes the currency from GBP to Euro's by multiplying the GBP by 1.14
# it then subtracts the commission charge of 0.01 of the value of the transaction total
#the program then prints the correct conversion in Euro's from GBP
#Currency Converetor
#Start
while True:
Value = int(input ("Please Enter Amount in GBP: "))
if Value < 50:
print ("Please enter a higher amount")
else:
print (Value)
SelectCurrency = str(input ("please select currency, select EUR, Select USD, Select BRL, Select JPY, Select TRY:"))
if SelectCurrency == 'EUR':
value1 = (Value * 1.14) - (Value * 0.01)
print("£" + str(Value) + " is equal " + str(value1),SelectCurrency)
# this line above changes the currency from GBP to Euro's by multiplying the GBP by 1.14
# it then subtracts the commission charge of 0.01 of the value of the transaction total
#the program then prints the correct conversion in Euro's from GBP
#Currency Converetor
#Start
while True:
while True:
Value = int(float(input ("Please Enter Amount in GBP: ")))
if Value < 50:
print ("Please enter a higher amount")
else:
print (Value)
break
while True:
SelectCurrency = str(input ("please select currency, select EUR, Select USD, Select BRL, Select JPY, Select TRY:"))
if SelectCurrency == 'EUR':
value1 = (Value * 1.14) - (Value * 0.01)
print("£" + str(Value) + " is equal " + str(value1),SelectCurrency)
break
elif SelectCurrency == 'USD':
value1 = (Value * 1.14) - (Value * 0.01)
print("£" + str(Value) + " is equal " + str(value1),SelectCurrency)
break
elif SelectCurrency == 'BRL':
value1 = (Value * 1.14) - (Value * 0.01)
print("£" + str(Value) + " is equal " + str(value1),SelectCurrency)
break
elif SelectCurrency == 'JPY':
value1 = (Value * 1.14) - (Value * 0.01)
print("£" + str(Value) + " is equal " + str(value1),SelectCurrency)
break
elif SelectCurrency == 'TRY':
value1 = (Value * 1.14) - (Value * 0.01)
print("£" + str(Value) + " is equal " + str(value1),SelectCurrency)
break
else:
print("Please enter ether EUR,USD,BRL,JPY,TRY")
Code Forum is a community platform where coding enthusiasts can connect with other developers, engage in discussions, ask for help, and share their knowledge with a supportive community. It's a perfect place to improve your coding skills and to find a community of like-minded individuals who share your passion for coding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.