0

How this executes without using print at last

https://code.sololearn.com/cb6IrOXstlPT/?ref=app

5th May 2018, 1:34 PM
tipton
tipton - avatar
2 ответов
+ 3
Because the function doesn't return any value that can be printed. print(word + "!") if modified to return (word + "!") then you need to use print at function call.
5th May 2018, 2:05 PM
Dev
Dev - avatar
0
The shout function uses print in its declaration
5th May 2018, 2:03 PM
TurtleShell
TurtleShell - avatar