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