Discuss / Python / 作业

作业

Topic source

柴哲远

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

# -*- coding: utf-8 -*-

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

for name in L:

print('Hello,', name)

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

n = 0

while n < (len(L)):

print('Hello,', L[n])

n = n+1


  • 1

Reply