185k views
0 votes
Consider the following code:

val = 25

def example():

val = 15

print(val)

print(val)

example(val)

print (val)
What is output?

1 Answer

5 votes

Answer: The output is:

15

25

25

Step-by-step explanation:

User Raghu Ariga
by
8.1k points