I'm having a problem with a code that should read 4 values using raw.input().split()
and then a for-loop
to transform those values into float
. The interpreter returns me:
"name 'val' is not defined"
Follow the code:
p=raw.input().split()
for i in range (0,4)
val[i]=float(p[i])