Listing in Python

Hi All,
there are two tasks in mind that I wish to achieve.

  1. How do I locate a specific text and insert text after that index? See image below

  1. How do I append at the end of the list?

test.gh (4.5 KB)

Hello,

It is just:

x.append("pop")
a = x

It sounds like you may benefit from doing some beginner/improver python tutorials/exercises …?

Sure do! Do u know where i can find all of GH Python function does?

I found the rhino python 101 to be a great intro to python and rhino. I don’t know if there is an equivalent for GrassHopper. There are lots of online resources for learning python- look specifically for Python 2.

Graham