Dear users,
How can I write the shown graph in python? For a start how is it possible in python to get item at index from sublist?
Thanks for all responses
Dear users,
How can I write the shown graph in python? For a start how is it possible in python to get item at index from sublist?
Thanks for all responses
data = IN[0]
index = IN[1]
# loop through list to get sublists and store in result
result = []
for sublist in data:
result.append(sublist[index])
OUT = result
If this is hard I would recommend you to start a basic course in python of any online course you choose: udemy, codeacademy, udacity…
It is simple to learn and will serve you well for the rest of your career.