I am trying to get difference between two values of a list. (x - x)
But when the size of a list is 1, index error occured.
so I want to set default value when the size of a list is 1.
I used == node and check whether the count and ‘1’ are equal to each other or not.
if the count equals 1, set value 3500.
if not equals, set value (x - x). <– I don’t know what to do.
thank you for your time!