list_a = ['列''表''的''创''建']
list_b = []
list_c = list((1, 3, 5, 7, 9))
list(range(1, 10, 2))
list('helloword')
list_d = [3, 4, 5]
list_e = list_d+[7]
print(list_e)
f = []
f.append(9)
print(f)
g = []
g.extend([11, 13, 15])
print(g)
h = []
h += '1234'
print(h)
h += range(3)
print(h)
h += map(str, range(3))
print(h)
i = [1, 3, 5, 7]
i.insert(3, 6)
print(i)
j = [2, 4, 6]
j*=3
print(j)
list_k = [3, 5, 7, 9]
del list_k[1]
print(list_k)
list_l = list((3, 5, 7, 9, 11))
list_l.pop()
print(list_l)
list_l.pop(1)
print(list_l)
list_m = [3, 5, 7, 9, 11]
list_m.remove(7)
print(list_m)
list_n = [1, 2, 34, 56, 7.5, 23, 2]
print(list_n[3])
print(list_n.index(2))
print(list_n.count(2))
list_o = [3, 4, 5, 5.5, 7, 9, 11, 13, 15, 17]
print(2 in list_o)
list_p=[3, 4, 5, 6, 7, 9, 11, 13, 15, 17]
print(list_p[::])
print(list_p[::-1])
print(list_p[::2])
print(list_p[1::2])
print(list_p[3::])
print(list_p[3:6])
print(list_p[0:100:1])
print(list_p[4:])
list_r=[3,5,7]
list_r[len(list_r):]=[9]
print(list_r)
list_r[:3] = [1, 2, 3]
print(list_r)
list_r[:3]=[]
print(list_r)
list_s=list(range(10))
list_s[::2]=[0]*5
print(list_s)
list_t=[1,3,5,7,9,11,13,15,17]
del list_t[:3]
print(list_t)
del list_t[::2]
print(list_t)
list_u = [11, 4, 5, 6, 17,3, 7, 9, 5, 13, 15]
list_u.sort()
print(list_u)
list_u.sort(reverse=True)
print(list_u)
list_u.sort(key=lambda x:len(str(x)))
print(list_u)
list_v = [11, 4, 5, 6, 17,3, 7, 9, 5, 13, 15]
print(sorted(list_v))
print(sorted(list_v,reverse=True))
list_w=[3, 4, 5, 6, 7, 9, 11, 13, 15, 17]
list_w.reverse()
print(list_w)
list_x=[3, 4, 5, 6, 7, 9, 11, 13, 15, 17]
x_list=reversed(list_x)
list(x_list)
for i in x_list:
print(i,end=' ')
print(all([1,2,3]))
print(all([0,1,2,3]))
print(any([0,1,2,3]))
print(any([0]))
a_list=[1,2,3]
b_list=['a','b','c']
c_list=zip(a_list,b_list)
list(c_list)
a = list()
b = list('python')
print(b)
c = ('hello world !')
d = list(c)
print(d)
e={1,4,'wt'}
f=list(e)
print(f)
x=[1,2,3,4,5]
y=list(map(int,x))
print(y)
list1=[i for i in range(1,21)]
print(list1)
list2= [ i for i in range(0,101) if i%2==0 ]
print(list2)
list3 = [(i, j) for i in range(0, 3) for j in range(2, 4)]
print(list3)
list4 = ['66', 'hhh', 'jsy', 'JSY', 'main']
list5 = [word.title() if word.startswith('h') else word.upper() for word in list4]
print(list5)