Vector with variable: can only concatenate list (not "float") to list

154 Views Asked by At

I am trying to creat a ray vector which is supposed to look like this:

in_vec = Vector([i,1], [0.001, -1])  

"i" is a variable in the range of 0 until 3 in the steps of 1

i = list(range(0,3,1))

The program should run all three options (in a loop?). I am running out of ideas how to solve this. Any kind of suggestion would be helpful! Thanks in advance.

0

There are 0 best solutions below