需求来源:某知乎球友提问 如何用python对excel实现读取指定日期的数据? 保留第一行表头,保留前2列,读取当天及往后3天(一共4天包含当天)的数据 直接上python3代码: #!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/ Read More
posted @ 2020-12-03 22:04 eosclover Views(342) Comments(0) Diggs(0) Edit
如何在python 中输出九九乘法表 ? python3 代码: 2个for循环 for i in range(1,10): for j in range(1,i+1): print(f'{j}*{i}={i*j}'.format(i,j,i*j),end=' ') print("") 输出结果: Read More
posted @ 2020-12-03 21:31 eosclover Views(95) Comments(0) Diggs(0) Edit