-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patha.py
More file actions
68 lines (43 loc) · 916 Bytes
/
a.py
File metadata and controls
68 lines (43 loc) · 916 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
45
46
47
48
49
50
51
#!/usr/bin/env python
#from __future__ import division
##a = int(raw_input("Enter Number"))
#b = set()
#for i in range (0,a):
# c = int(raw_input("Enter numbers of the set"))
# b.add(c)
#print b
#d = sum(b)
#e = len (b)
#f = d /e
#print f
#def conv(str,position,character):
# b = list(str)
# del b[position]
# b.insert(position,character)
# str = ''.join(b)
# print str
#conv('abracadabra',5,'k')
#f = open("a.txt",'w')
#b = ['okhi','jeppoh','iuytf', '\n','hello' ]
#f.writelines(b)
f = open("a.txt",'rU')
g = f.read().splitlines()
print g
#k = set()
#m = set()
#c = set()
#j = int(raw_input("Enter the lenght "))
## d = map(int,raw_input("Enter the elements of the set"))
# print d
## e = int(raw_input("Enter the elements of the second set. "))
# m.add(e)
#print m
#for i in k:
# if i not in m:
# c.add(i)
#for i in m:
# if i not in k:
# c.add(i)
#d = sorted(c)
#for i in d:
# print i