+ 1
Can somebody help me
2 Respuestas
+ 3
There are few errors in your code.
Line 5, it doesn't convert account from string to int. Instead it assigns 0 to account.
Indentation of the if-else block is misplaced.
You also need an exit condition, otherwise it will become an infinite loop.
Line 4 isn't doing anything at all. Guess it was planned to do something else.
+ 1
acc = input("enter amount \n")
if int(acc) >= 10:
print("deposited quot; + str(acc))
else:
print("minimum is $10")