python随笔

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python随笔相关的知识,希望对你有一定的参考价值。

9*9 的实例 
技术分享
first = 1

while first <= 9:

#    print("#",end="")
    sec = 1
    while  sec <= first:
        print( str(sec)+"*"+str(first)+"=",sec * first,end="\t")
        sec += 1
    first += 1
    print()
View Code

 

以上是关于python随笔的主要内容,如果未能解决你的问题,请参考以下文章