Skip to content

Instantly share code, notes, and snippets.

@The-Nightwing
Created September 26, 2020 09:58
def fun(length,a):
b = a
for i in range(length):
a+=1
print("value of a before: "+str(b)+" now it's "+str(a))
return a
def main():
r1 = fun(50000000,0)
r2 = fun(100,12)
r3 = fun(100,41)
if __name__=="__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment