TypeError: 浮动是必需的
我不能发布图像,所以:
一个任务:
有必要找到A1,A2,......, - 。
n是自然的,给出。
这就是我试图做的方式:
a[i]={/-1/^/i+1/*sin/x/*ln/x/}/{i^2*/i+1/!}
一个任务:
有必要找到A1,A2,......, - 。
n是自然的,给出。
这就是我试图做的方式:
import math
a=[]
k=0
p=0
def factorial/n/:
f=1
for i in range/1,n+1/:
f=f*i
return f
def narys/n/:
x=input/'input x: '/ #x isn't given by task rules, so i think that is error else.
float/x/
k=/math.pow/-1,n+1/*math.sin/x/*math.log10/n*x////n*n*factorial/n+1//
a.append=k
n=int/input/'input n: '//
narys/n/
for i in a:
print/a[p]/
p=p+1
没有找到相关结果
已邀请:
1 个回复
三叔
赞同来自:
是一个
线
, 取自您通过功能的键盘
.
转换
在
, 但是无处可拯救转换的值,所以更改:
到:
获得代码的正确行为。