0

in this program start 4m >>> but, in code playground start 4m print

I don't understand in chapter >>> input("enter a number: ") but the code playground show us s=input("enter a number: ") print(s) can you explain me why?

31st May 2017, 9:29 PM
Susovan Das
Susovan Das - avatar
3 Antworten
+ 1
The >>> is a way to show the prompt of the terminal. You do not need to type it when coding.
31st May 2017, 9:49 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 1
just as cruz said the >>> is just included in your python console thats the way the environment is with >>> on each line but you dont have to include that to the start of your code else you get errors
1st Jun 2017, 12:56 AM
John Emma
John Emma - avatar
0
thank you
31st May 2017, 10:53 PM
Susovan Das
Susovan Das - avatar