L = ['Bart', 'Lisa', 'Adam'] n = len(L)-1 while n >=0: print('hello,%s!' % L[n]) n = n-1
Sign in to make a reply
wwdx0001
-- coding: utf-8 --
L = ['Bart', 'Lisa', 'Adam'] n = len(L)-1 while n >=0: print('hello,%s!' % L[n]) n = n-1