I'm having trouble splitting a string, it keeps saying that option_convert and option_convert3 is not equal to dollar and pound
Code:http://pastebin.com/HFSW2BU2
Can't get it work here for some reason.
def option1():
option_convert = input("""
What curreny would you you like to convert and convert to, (Example: dollar & pound) this would allow you to convert dollars to pounds.
""")
option_convert2 = option_convert.split('&')[0]
option_convert3 = option_convert.split('&')[1]
print (option_convert2)
print (option_convert3)
if option_convert2 == "dollar" and option_convert3 == "pound":
print ("test")
else:
print("Something went wrong...")