Q34.webp
Enmu90

Q34.webp

  • Media owner Enmu90
  • Ngày thêm
Kizspy | Question: 34
(Choose 1 answer)
FJOVERFLOW.COM
What is the output of the following program?
def outerFunction():
global a
a 20
def innerFunction():
global a
a = 30
print('a', a)
a = 10
outerFunction()
print('a =', a)
A. a 10 a 30
B. a 10
C. a=20
D. a 30

Thông tin

Category
PFP191
Thêm bởi
Enmu90
Ngày thêm
Lượt xem
543
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom