Commit 6d3270f2 by BellCodeEditor

auto save

parent 569f9ae5
Showing with 10 additions and 4 deletions
with open(r"C:\Users\EDZ\Documents\lesson13-1\sales_list.txt","r",encoding="utf-8")as file: k = int(input("输入正整数k"))
data = file.readlines() a = 1
print(data) b = 1
\ No newline at end of file c = 0
while (k-2) :
c = a
a = b
b = b + c
k = k- 1
print(b)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment