Je suis très nouveau donc juste apprendre, alors allez-y doucement s'il vous plaît!Quel est le problème avec ce code Python?
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))
Ceci entraîne toujours une erreur de syntaxe? Je suis sûr que je fais quelque chose d'évident faux!
Merci!
Êtes-vous d'exécuter cette à travers python 3 ou 2.x? –