-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemp.py
103 lines (82 loc) · 1.54 KB
/
temp.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
x = 2
y = 'pepe'
def pepe():
print "pepe"
pepe()
pepe(1)
pepe(1,2)
pepe(1,2,3)
pepe(x,y)
pepe(y,x)
def pepe2(a = 0):
return a + (a**2)
pepe2()
pepe2(1)
pepe2(1,2)
pepe2(1,2,3)
pepe2(x,y)
pepe2(y,x)
def pepe(a = 0,b = 0):
return a + (a**2)
def pepe3(a, b = 1, c):
print a + b + (a/c)
doesNotExist()
doesNotExist(1,2)
doesNotExist(x,y)
doesNotExist(xx,yy)
test1 = 2
test2 = 3
def pepe4(a,b,c,d,e):
print test1 + test2 + a + (b**c) / d - e
def pepe5(a,b,c,d,e):
print test5 + test6
print a+b
for a in x:
print a
for a in y:
print a + b
if x > y:
print "x is grater than y"
if x < yy:
print "x is less than yy"
for s in s:
print s
def add(x1,x2):
return x1 + x2
def add(x1,x2,x3=1):
return x1 + x2 + x3
def add2(x1,x2,x3):
return x1 + x2 + x3
def add2(x1,x2,x3=1):
return x1 + x2 + x3
variable = doesNotExist + 2
doesNotExist = 0
g = (1 + 2) / 3
g = (1 + 2) * 3
g = (1 + 2) + 3
g = (1 + 2) - 3
g = (1 + 2) ** 3
g = (1 + 2) / "text"
g = (1 + 2) * "text"
g = (1 + 2) - "text"
g = (1 + 2) + "text"
g = (1 + 2) ** "text"
g = ("p") + ("e") + ("p" + "e")
g = (1 + (4/2)**(5) - 2*(1 + 2**2))
gg = g / " the frog"
gg = g - " the frog"
gg = g + " the frog"
gg = g ** " the frog"
gg = g * " the frog"
g = ("a" + ("b"/"cc")**("ododod") - "reeeee"*("acc"+ "b"**"ss"))
gg = g / " the frog"
gg = g - " the frog"
gg = g + " the frog"
gg = g ** " the frog"
gg = g * " the frog"
g = ("a" + ("b"+"cc")+ 6 * ("ododod") + "reeeee" + 9*("acc"+ "b"+"ss"))
gg = g / " the frog"
gg = g - " the frog"
gg = g + " the frog"
gg = g ** " the frog"
gg = g * " the frog"