a = 'python' print('hello,', a or 'world') b = '' print ('hello,', b or 'world') print('-----------------------------------') 创建list L = ['Adam',95.5,'Lisa',85,'Bart',59] print('创建list:',L) print('-----------------------------------') #按照索引访问list pri…