-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1.py
More file actions
44 lines (35 loc) · 760 Bytes
/
1.py
File metadata and controls
44 lines (35 loc) · 760 Bytes
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
blkChain = [1,5,6,"abc", [1,2,"prashant" , ["uppal"]]]
blkChain
blkChain[1]
print((blkChain[4][2])[6])
print(blkChain)
blkChain.count(blkChain)
print(blkChain.count(blkChain))
blkChain.pop()
print(blkChain)
blkChain.remove(blkChain[1])
print(blkChain)
def func1 () :
print ("ola ")
func1()
def holds (func, arg) :
pass
def wierd (func) :
if holds(func, func):
print(" in holds")
while True :
print ("non Halting")
pass
else :
print(" halting")
return
wierdstr = """def wierd (func) :
if holds(func, func):
print(" in holds")
while True :
print ("non Halting")
pass
else :
print(" halting")
return"""
wierd(wierdstr)