i have a code that looks as follows, my problem is that im getting the error it just returns 0 no matter what.
import sys
import math
b = [2,5,9,13]
b = [int(x) for x in b[1:]]
print(b)
pair = b[0]
i=0
x=1
y=2
while i < pair:
print (b[x]*(100 / 180))
i = i+1
x = x+1
I dont understand what is wrong I have tried, going thorugh it in my head all of the processes and I cant see why it doesn't work. i think it has something to do with the way I call the numbers on my list.