Я попробовал этот код:
Код: Выделить всё
y = range(0, 1000)
x = range(0, 1000)
stuff = int(x ** 2 / y)
print stuff
Код: Выделить всё
Traceback (most recent call last):
File "testingsci.py", line 3, in
stuff = int(x ** 2 / y)
TypeError: unsupported operand type(s) for ** or pow(): 'list' and 'int'
Подробнее здесь: https://stackoverflow.com/questions/390 ... le-outputs
Мобильная версия