2021-07-28

让文字成为数据再让数据导入二维数组
class writes:
write=open(input(“请输入内容:”),‘w’)
def jack(self):
r=list(input(“正在为您解析语句数据规矩:”))
print®
for i in r:
break
s=r.count(i)
gps=r.index(i)
lens=len®
t=","
d="。"

     if i==t or i==d:
        s=None
     else:
        print("字:",i,':',"次数:",s,':',"宽度:",lens,':',"位置:",gps)

vadet=writes()
vadet.jack()

x=27737
y=27727

class Person(writes):
import numpy as np
date=np.array([x,y])
print(date)
nexts=np.array([2])
print(nexts*date)
k=np.array([4.0,5.0,6.0])
g=np.array([6.0,5.0,4.0])
print(k+g)
xx=np.array([g])
print(xx)
print(writes.dict)
def init(self,name,age):
self.name=name
self.age=age
nums=10

objects=Person(“武”,25)
print(“他的名字:”,objects.name)
xc=np.array([nums])

上一篇:Ajax


下一篇:HTTP请求头信息