#1
21.09.2017 um 19:21 UhrAb der Zahl 159 gibt´s einen Overflow Error:
Ohne "math.pow" funzt es:
alt:
Python-Code
neu:
Python-Code
Zitat:
OverflowError: math range error
Ohne "math.pow" funzt es:
alt:

zahl += int(y[i])* math.pow(2,x-i-1)
neu:

zahl += int(y[i]) * (2 ** (x-i-1))
