def myfun(Lst,v):
lst[0]+=2
v+=2
n=[2,3,4]
lst=n
lst.append(7)
print("values within function definition:",list1,var1)
#_Main_
list1=[1]
var1=1
print("variable within beforemain function call:",list1,var1)
myfun(list1,var1)
print("values within after:",list1,var1)
i.)write the flow of execution
ii.)output
iii.)reason of output
Answers
Answered by
1
Explanation:
explanation is in the share image as it was showing rude words warning.
Attachments:
Similar questions