L = ['Bart', 'Lisa', 'Adam'] for x in L: print('hello,','%s!'%x)
L = ['Bart', 'Lisa', 'Adam'] n = 0 while n < 3: print('hello,','%s!'%L[n]) n = n+1
Sign in to make a reply
饭后嚼燚龘
L = ['Bart', 'Lisa', 'Adam'] for x in L: print('hello,','%s!'%x)
L = ['Bart', 'Lisa', 'Adam'] n = 0 while n < 3: print('hello,','%s!'%L[n]) n = n+1