L=['Bart','Lisa','Adam'] n=0 while n<=2: print('Hello,%s'%L[n]) n=n+1
L =['Bart','Lisa','Adam'] for x in L: print('Hello,%s'%x)
Sign in to make a reply
Ryan_CL
L=['Bart','Lisa','Adam'] n=0 while n<=2: print('Hello,%s'%L[n]) n=n+1
L =['Bart','Lisa','Adam'] for x in L: print('Hello,%s'%x)