随笔分类 - Python
摘要:换源 - 豆瓣:http://pypi.douban.com/simple/ - 中科大:https://pypi.mirrors.ustc.edu.cn/simple/ - 清华:https://pypi.tuna.tsinghua.edu.cn/simple/ - 阿里云:http://mirr
阅读全文
摘要:9*9乘法表 for i in range(1,10): for j in range(1,i+1): print(f"{i}*{j}={i*j}",end=" ")#print默认换行,以end为结尾 print() 三角形 for i in range(1,10): if i<=5: print
阅读全文