>>>print(1,2,3,4,5,sep="#")
#print("Test")
print("abc") #print("xyz")
>>>s="the sky is blue"
>>>print(s[-4:],s[:-4])
a,b,c=5,6,-1
if(a<b):
if(b<0):
c=0
else:
c+=1
print(c)
m=0
for i in range(1,8,2):
for j in range(3,10,2):
m+=1
print(m)
xuexi=["网课","网课","作业","阅读","书法","钢琴","绘画"]
for i in :
print(,xuexi[i])
数学题目:已知一个包含了25项的数列:1, , , ...., , , 要求计算该数列中所有数之和。
问题1:写出该数列的通项公式f(n)=
问题2 :以下是计算s=1+++ ... ++的程序,请补全代码:
s=0
for i in range(1,26):
s=s+
print("s=",s)