L = ['Bart','Lisa','Adam'] i = 0
while i < 3: print('Hello,%s!' % L[i]) i = i + 1
Sign in to make a reply
wwdx0001
!/usr/bin/env python3
-- coding: utf-8 --
L = ['Bart','Lisa','Adam'] i = 0
while i < 3: print('Hello,%s!' % L[i]) i = i + 1