Do you have to print(7 - 3 + 5) to get the problem to register? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Do you have to print(7 - 3 + 5) to get the problem to register?

without "print" problem won't compute. is that a given??

6th May 2017, 10:51 PM
Dalton Landrum
Dalton Landrum - avatar
2 Respostas
+ 3
Print is outputting to the screen and is necessary when using IDE or Idle etc. However if you just launch python from PowerShell/command/terminal you can leave it the print and it will output.
6th May 2017, 10:55 PM
Clint Carr
Clint Carr - avatar
+ 1
Thanks a bunch!
6th May 2017, 10:58 PM
Dalton Landrum
Dalton Landrum - avatar