python while循环实例

发布时间:2019-08-13 07:37:10编辑:auto阅读(1357)

    counter = 0

    while counter < 3:

            print 'loop#%d'  %(counter)

            counter+=1

    loop #0

    loop #1

    loop #2

关键字

上一篇: Python的安装及升级

下一篇: Python -- list 类