0
点赞
收藏
分享

微信扫一扫

python函数:第1个函数

火热如冰 2022-02-24 阅读 27
python
def say_hello():
    """
    打招呼
    :return:
    """
    i = 1
    while i <= 3:
        print("say hello %d" % i)
        i += 1


say_hello()

举报

相关推荐

0 条评论