Discuss / Python / 作业

作业

Topic source

木须炒面

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

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

n = 0

while n <= 2:

    name = L[n]

    print('Hello,%s!'%name)

    n = n + 1


  • 1

Reply