if not None and not "" and not [] and not {} and not ():
print("true")
if None or not "":
print("true")
print('my' in 'my name')
print('key' in {'key':'value'})
my_map = {'key1':"value1",'key2':'value2'}
if('key1' in my_map.keys() and 'value1' in my_map.values() and my_map.keys().__len__ == 2 and len(my_map.keys()) == 2):
print('true')
elif (4==4):
print('false')
else:
print('false')
list1 = [1,2,3,4,5]
print(id(list1))
list1_copy = list1.copy()
print(id(list1_copy))
import copy
list2_copy = copy.deepcopy(list1)
print(id(list2_copy))
i = 0
while i< 10:
if(i == 4):
i += 1
continue
print(i)
i += 1
else:
print('循环正常结束')
for i in '1234':
print(i)
else:
print("循环正常结束")
print(type(range(10)))
print(list(range(1,9,2)))