0

>>> insertion operator error. Why?

How come when I use >>> before my code in Python 3 it’s giving me errors? I thought >>> was the required insertion operator before writing code...?

12th Oct 2018, 2:10 PM
Austin
1 Answer
+ 2
No it's just the command prompt when you use the python interpreter interactively. Just type the command you wish to be executed. What do you mean by insertion operator, by the way? Something like >> in C++? In that case, look at the input function https://www.w3schools.com/python/ref_func_input.asp
12th Oct 2018, 2:14 PM
fra
fra - avatar