##1.1 函数的定义

================实战
def say_hello():
'''9*9乘法表'''
row = 1
# 1col=
while row <= 9:
col = 1
while col <= row:
print("%d*%d=%d" % (col, row, row * col), end=' ')
col += 1
print("")
row += 1
# say_hello()

2.2函数的调用

=========实战
import 函数调用
函数调用.say_hello()

来源:CSDN
作者:鹿鸣悠悠
链接:https://blog.csdn.net/weixin_41665637/article/details/103242662