「已注销」: [code=python] if __name__ == '__main__': listnum = [1] for x in range(1, 21): if x == 1 or x == 2: (x) else: (listnum[x - 1] + listnum[x - 2]) # 列表下标从0开始 print(listnum) [/code]
PyTorch读取数据集精度 float32, mat1 and mat2 must have the same dtype
python 生成斐波那契数列的前20个数