+ 1
In cmd window is print is necesaary?
instead of print(2+3) can i use 2+3 directly in cmd window
4 Respuestas
+ 4
wait. How did use print (2+3) on cmd in the first place?
+ 2
Assuming 'interactive mode' is intended (cmd has special meaning to Windows users):
no. yes.
Here are more uses for the mode:
http://stackoverflow.com/a/2665150/3981745
============
Confusion is understandable. Both python and cmd shell have REPL interfaces.
https://en.m.wikipedia.org/wiki/Read–eval–print_loop
0
yup i have seen another video lecture where he provide 2+3 the output came as 5. no print statement is used
0
to print in cmd you use echo command