Discuss / Python / 作业

作业

Topic source

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

for name in L:

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

死循环

s=0

x=100

while x > 0:

      s=s+x

      print(s)


  • 1

Reply