y, z = 1, 2
def f():
global x
x = y+z
a) x
b) y and z
c) x, y and z
d) Neither x, nor y, nor z
Read the following Python code carefully and point out the global variables?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Read the following Python code carefully and point out the global variables?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!