name = 'Python Apple China' for x in name: print('----') print(x)
name = 'Python Apple China' for x in name: print('----') if x == 'A': break print(x)
name = 'Python Apple China' for x in name: print('----') if x == 'A': continue print(x)
name = 'Python Apple China' for x in name: print(x)
name = '' for x in name: print(x) else: print("没有数据")