+ 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.

11th Jun 2018, 2:49 AM
Martin Smith
Martin Smith - avatar
3 odpowiedzi
+ 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.
11th Jun 2018, 3:10 AM
Pedro Demingos
Pedro Demingos - avatar
+ 1
Consider '>>>' as a command prompt. Line in Linux or Windows terminal.
11th Jun 2018, 6:36 AM
strawdog
strawdog - avatar
0
>>> 2+2 # Prints 4 2+2 # Calculates 4. Doesn't print anything print(2+2) # Prints 4.
11th Jun 2018, 4:10 AM
Vlad Serbu
Vlad Serbu - avatar