字符串、列表、元组、字典的共用方法
if __name__ == '__main__':
# 拼接操作
strA = 'I'
strB = 'apple'
strC = strA + strB
print(strC)
listA = list(range(10))
listB = list(range(11,20))
listC = listA + listB
print(listC)
# 复制操作
print(strA*10)
print(listA*2)
# 判断操作
print('ap' in 'apple')
print(1 in listC)
dictA = {'name':'苹'}
print('age' in dictA)