Discuss / Python / 交作业1

交作业1

Topic source

Tz

#1 Created at ... [Delete] [Delete and Lock User]

L=['Bart','Lisa','Adam']

for l in L:

    print('Hello,'+l+'!')

L2=['Bart','Lisa','Adam']

n=0

while n>=0&n<=2:

    print('Hello,'+L2[n]+'!')

    n=n+1


  • 1

Reply