What will be the output of the following code :- i=5
def checkGlobal():
global i
i=i+10
print(i)
checkGlobal()
10
5
15
None of the above
Answers
Answered by
0
Answer:
15
Explanation:
you have to put I=5
I=I+10
5=5+10
5=15
Answered by
0
i= 5
i = 5 + 10
i = 15
therefore...Option.C
HOPE IT HELP$...!!!
@being_SaRcAsTiC
Similar questions
Science,
5 months ago
English,
5 months ago
Math,
5 months ago
Social Sciences,
11 months ago
Social Sciences,
1 year ago
Math,
1 year ago