-
Notifications
You must be signed in to change notification settings - Fork 0
/
ScopedFunctions.py
34 lines (32 loc) · 1.04 KB
/
ScopedFunctions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import time
def min(a,b):
if a<b:
return("a in Global")
return("b in Global")
def FunA():
ctr=1;
while ctr<100000: ctr+=1
def min(a,b):
if a<b:
return("a in FunA")
return("b in FunA")
def FunB():
ctr=1;
while ctr<1000000: ctr+=1
def min(a,b):
if a<b:
return("a in FunB")
return("b in FunB")
def FunC():
ctr=1;
while ctr<10000000: ctr+=1
def min(a,b):
ctr=1;
while ctr<100000000: ctr+=1
if a<b:
return("a in FunC")
return("b in FunC")
print(min(10,20))
FunC()
FunB()
FunA()