hi everyone,
i want to make this GH python work properly but every results just come out 0.
these are fomulas that i want to apply on the list named list_x
thank you for any response!
hi everyone,
i want to make this GH python work properly but every results just come out 0.
these are fomulas that i want to apply on the list named list_x
thank you for any response!
your code should be working
make sure you have right clicked on the “x” input of the Python component and set the input type to “float”, I see there are decimals in your data
when your code reaches your line 14 → elif (x>100 and x<300):
you could remove the first test x>100
because it’s a condition already verified in line 12