M8) A local variable shadows a global one
What is the output of the code in Listing 1?
x and a function func.
Choose the correct option:
- The code will print
15and10. - The code will print
10and15. - The code will print
15and15. - The code will raise a
UnboundLocalError.