i want to make a converter for SGD to USD but im stuck at if statement . it just didnt recognize the input(). im learning so my code might be really stupid, sorry in advance aite.
def converter(scal):
return scal * 1.33504
print('Welcome to Smurk Converter ')
print('Press 1 to convert SGD to USD :')
choice = input()
if choice == 1:
print('Amount of money you want to convert: $')
amount = input()
his_amount = amount
print(amount)
print('If you were to convert that amount SGD to USD...')
print('It will be: $')
print(converter(his_amount))
else:
print('Wrong Input, just enter either 1 or 2')
Please help, thanks.