Q. Find and write the output of the following Python code:


a = 10

def call() :

    global a

    a = 15

    b = 20

    print (a)

call()


Answer =

Output :-

15

3 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post