def say_hello():
    """
    打招呼
    :return:
    """
    i = 1
    while i <= 3:
        print("say hello %d" % i)
        i += 1
say_hello()
python函数:第1个函数
阅读 28
2022-02-24
def say_hello():
    """
    打招呼
    :return:
    """
    i = 1
    while i <= 3:
        print("say hello %d" % i)
        i += 1
say_hello()
相关推荐
精彩评论(0)