“What is the output of the following code ? v = ‘Hello’ def f(): v = ‘World’ return v print(f()) print(v) “

QuestionsCategory: Python 3“What is the output of the following code ? v = ‘Hello’ def f(): v = ‘World’ return v print(f()) print(v) “
admin Staff asked 3 years ago

Answer: World
Hello