Question: 1 pts Gef display_variable(): print(var) def moin() var isello display_varioble() moin() This code wiil result in an error Nemefreor: naie 'vort is not defined Why
1 pts Gef display_variable(): print(var) def moin() var "isello" display_varioble() moin() This code wiil result in an error Nemefreor: naie 'vort is not defined Why did the error occur? Functionis cannot access the local variables of other functions. chobt variables carinot generally be uied inside a function. Variables cannot be defined after calling a function. Functions cannot be called within another function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
