What will be the output of the following code :- i=5
def checkGlobal():
i=50
global i
i=i+10
print(i)
60
55
10
Error in the code
Share
What will be the output of the following code :- i=5
def checkGlobal():
i=50
global i
i=i+10
print(i)
60
55
10
Error in the code
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies