0
Why does my local scope always return blank
Whenever I access a locally declared variable from inside it always returns a blank white page and I can't understand. or am I not doing it right? https://code.sololearn.com/WACH738LsG2L/?ref=app
3 ответов
+ 1
stephen Purpose
You cannot access local variable outside. You have to call function to print local variable value
VehicleSound ()
+ 1
Ok let me go try Aj and Ipang
+ 1
Thanks a lot all .I just called the function and it worked.