in Python by
Q:

What is the output of the following code?

v = 'Hello'

def f():

    v = 'World'

    return v

print(f())

print(v)

i) World

World

ii) Hello

Hello

iii) World

Hello

iv) Hello

World

► Click here to show 1 Answer

0 votes
by
iii)

World

Hello
Python
Learn More with Madanswer

Related questions

0 votes
asked Dec 14, 2019 in Python by sharadyadav1986
...