+ 1
No >>> in the IDE
The instructions use >>>print('Hello world') . The IED doesn't use >>> . The IDE just does: print('Hello world) Something is hinkie and confusing. The IED IDE isn't doing ANY arithmetic. The Python IDE has an IED or a cold or something. Maybe Python swallowed a bad rabbit.
3 Antworten
+ 2
>>> appears in Interactive Mode.
IDEs “standart” window will appear with Script Mode. But they probably have a console for Interactive Mode too.
Googling these two terms will give you a more complete explanation of what each Mode is.
+ 1
Consider '>>>' as a command prompt. Line in Linux or Windows terminal.
0
>>> 2+2 # Prints 4
2+2 # Calculates 4. Doesn't print anything
print(2+2) # Prints 4.