小编use*_*391的帖子

错误<0x275b990> - 这是什么意思

我有这个功能,但我不熟悉错误或如何纠正它.

def intify(file1):
    numbers=range(0,10)
    strnum=[]
    for x in numbers:
        strnum.append(str(x))

    number1=[]
    for line in file1:
        for split in line.split(' '):
                number1.append(split)

    listnum=[]
    for x in number1:
        if x[0] in strnum:
            listnum.append(x)

    w=map(float, listnum)
    #return w
    print(w)
Run Code Online (Sandbox Code Playgroud)

错误映射对象位于0x275b990

python python-3.x

-3
推荐指数
1
解决办法
68
查看次数

标签 统计

python ×1

python-3.x ×1