Discuss / Python / 每日一小时-第七天

每日一小时-第七天

Topic source

Mx

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

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

print('练习一')

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

for X in L:

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

print('练习二)

i=1

while i>=1:

    print('循环执行中,Ctrl+C停止')

    print(i)

    i = i + 1


  • 1

Reply