I’m very new so just learning, so go easy please!
start = int(input('How much did you start with?:' ))
if start < 0:
print("That's impossible! Try again.")
print(start = int(input('How much did you start with:' )))
if start >= 0:
print(inorout = raw_input('Cool! Now have you put money in or taken it out?: '))
if inorout == in:
print(in = int(raw_input('Well done! How much did you put in?:')))
print(int(start + in))
This always results in syntax error? I’m sure I’m doing something obvious wrong!
Thanks!
inis a reserved word so you can’t use it for variable names