0
How this executes without using print at last
2 Answers
+ 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.
0
The shout function uses print in its declaration