It always says syntax error and highlight the l in "Left". this is the code:
Code:
cn=int(input("Please enter your credit card number to pay $8"))
print ("scanning...")
ba=int
ba==343
left=int
left== 343-8
print ("$343 in bank account")
a1=str (input("do you want to purchase the surprise bonus?"))
if (a1=="yes" or "Yes"):
(print ("okay, thank you. Purchase completed successfully. remaining: $"left))
else:
print ("Purchase cancelled")
a2=input("You can safely exit")