>>> x = int(input("Please enter an integer: ")) Please enter an integer: 55 >>> if x < 0: x = 0 print('Negative changed to zero') elif x == 0: SyntaxError: invalid syntax >>>
And if I press the Indent key, Anancoda throws up on me ...
>>> x = int(input("Please enter an integer: ")) Please enter an integer: 55 >>> if x < 0: ... x = 0 File "<stdin>", line 2 x = 0 ^ IndentationError: expected an indented block >>>
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE