Find and write the output of the following python code: [1]
a=10
def call():
global a
a=15
b=20
print(a)
call()
print(a)
Answers
Answered by
4
Answer:
15
Explanation:
it can be compile error because there is a mistake in writing print it should be printf (a)
but if you r just writting in a simple way so the answer is 15.
Similar questions
Math,
2 months ago
Math,
5 months ago
Computer Science,
5 months ago
Computer Science,
10 months ago