# print('hello world')
# print('hello', 'hello',sep='***')#自定义链接符
# print('hello'+'world')  #拼接符
# print('hello world\n', end='AAA')
# print('ss')
#

# print(end='hello')
# a=input('number: ')
# print(int(a) + 10)
# print(a + str(10))
# print('')

# a = input('input your name: ')
# print(a+'欢迎您')
# not 3 <= 2 or print('123')
a = str(10)

# print(a)
# print('#' * 50)
# print('111', end='')
# print('111', end='')
# print('how are you?',end='')
# print(5/2)
# print(5//2)
# print(5%2)
# print(5>2)
# print(5 ** 3)
# print(3 > 5)
# print(20 < 30 < 40)
# print(20 < 30 and 30 < 40)
# print(not 20 > 10)
# print(True)
# number = input('input a null:')
# print(number)
# print(a)
# print(int(a) + 10)
# number = input()
# print(number + str(a))
# name = input()
# print('nihao '+name)
print('tmo\'s mys')
print("I'm a boy")
print("\"hello world\"")
print("\"")
print('"hello world"')
worlds = '"hello world"'
print(worlds)
print('''
多情自古多离别，更那堪冷落清秋节！ 今宵酒醒何处？ 
杨柳岸，晓风残念。
此去经年，应是良辰好景虚设。
便纵有千种风情，更与何人说？

''')
print("""
莫听穿林打叶声，何妨吟啸且徐行。
竹杖芒鞋轻胜马，谁怕？一蓑烟雨任平生。
料峭春风吹酒醒，微冷，山头斜照却相迎。
回首向来萧瑟取，归去，也无风雨也无晴。
""")
stra = """
莫听穿林打叶声，何妨吟啸且徐行。
竹杖芒鞋轻胜马，谁怕？一蓑烟雨任平生。
料峭春风吹酒醒，微冷，山头斜照却相迎。
回首向来萧瑟取，归去，也无风雨也无晴。
"""
# print(stra)
# print(len(stra))
# a = '12345679'
# print(stra[0])
# print(stra[1:17])
# print(stra[1:])
# print(stra[:])
# print(stra[::-1])
print(stra[0:17:])
print(stra[0:17:])
print(stra[0:17:],'\n\n\n')
print(stra[1:18:])
print(stra[1:18:3],'\n\n\n\n\n\n\n\n\n')
print(stra[1:17:])
print(len(stra[1:17:]))
print(stra[18:37:])
print(len(stra[18:37:]))
print('打' not in stra)
print(stra[::])
print('\n' * 10,stra[::-5] * 2)
print('\n'*10)
alist = [10, 20, 30, 'bob', 'alice', [1,2,3]]
print(alist[5])
print(alist[-1][2])
print(alist[::-1])
print(alist[1::])
print(10 in alist)
print('bob' not in alist)
print(alist.append('老几把'))
print(alist)
alist.append('jj')
print(alist)
alist[-3] = '老王'
print(alist,'\n' * 3)
print(alist[-2][2])
print(alist[0] * 10)
atuple = (10, 20, 30, 'bob', 'alice', [1,2,3])
print(atuple[-1])
print(atuple[1::])
print(atuple[0:])

print('\n'*3)
key = {'name':'xiao', 'age':'man' }
print(key['name'])

print('name' in key,'True')
key['age'] = 'waman'
print(key['age'])
key['like'] = 'pingpong'
print(len(key))
print(key['age'])
# if 3 > 1:
#     print('yes')
#  print('ok')
print('\n' * 5 )
# if 3 >= 1:
#     print("")
# print("hello world")
# print('yes')
# if 3 < 1:
#     print('yes')
#     print("no")
# elif []:
#     print('nihao')
# else:
#     print('last')
if {'key':'name'}:
    print('jj')
if 10 not in [10, 20, 30, 40]:
    print('hel')
