有那个大神会做这些Python题急求大神
python3吧
全部回复
仅看楼主
level 3
有那个大神会做这些Python题需要Python(python3)形式答案
2023年11月22日 08点11分 1
level 4
3
2023年11月22日 09点11分 2
level 2
2023年11月22日 21点11分 5
这个是第四题的截图
2023年11月22日 21点11分
level 2
find_day = lambda w,n:(w + n - 1) % 7 + 1
w = int(input())
n = int(input())
print(find_day(w, n))
2023年11月22日 21点11分 9
剩下你自己写吧,反正百度老喜欢吞贴。
2023年11月22日 21点11分
level 6
1.
i=0
res=0
while i<1000:
i+=1
res+=i
print(res)
2023年11月26日 22点11分 10
level 6
2.
a,b=2019,324
c=0
d=[]
while a>0:
if(a>b):
ch=b
a-=b
else:
ch=a
b-=a
c+=1
d.append(ch)
print(f'{c}:{d}')
2023年11月26日 23点11分 11
嗯,空白被吃了......
2023年11月26日 23点11分
level 6
話說啥叫python形式的答案?
在直譯器中跑的還是python answer.py後還能看到答案的?
2023年11月26日 23点11分 12
1