Q:

What is the output of the below python code?

0

What is the output of the below python code?

def myFun(y): 
  y = 20
# Driver Code
y = 10
myFun(y); 
print(y)

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Output: 

2
3

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Python Interview Questions and Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How many basic types of functions are available in... >>
<< What is the output of the below python code?...