Functions

why dont we see an output here?

Why do you expect output? The function only declares a variable, this variable neither printed or returned.

1 Like

I thought, it will print the value of ‘a’ as we are calling the function

doing print(loading_screen()) will print the returned value. You do not return any value