alist=list('hello')
print(alist)
#
# alist=list()
# print(alist)
#
# alist=list((1,2,3))
# print(alist)
#
# astr=str(True)
# print(astr)
#
# astr=str([1,2,3])
# print(astr)
#
# astr=str((1,2,3))
# print(astr)
#
# atuple=tuple('abcd')
# print(atuple)
#
# atuple=tuple([1,2,3])
# print(atuple)

# alist=list(range(1,6))
# print(alist)
# # print(len(alist))
# # print(max(alist))
# # print(min(alist))
#
# for ind in enumerate(alist):
# #玫举返回序列的索引和索引位置对应的值
#     print(ind)
#
# for ind,value in enumerate(alist):
#     print('index%s:%s' %(ind,value))
#
# alist=(1,25,3,100,50)
# blist=('b','e','a')
# clist=(2,'h','c')
# print(sorted(alist))
# print(sorted(blist))
# print(sorted(clist))
for i in reversed(alist):
    print(i,end=' ')
print()
# for j in reversed(blist):
#     print(j,end=' ')


# astr='abcd'
# print(astr[:])
#
# print(astr[::2])
#
# print(astr[::-1])
#
# print(astr[1::2])
#
# print(astr[1:3])


