Comment on need help with some fundamentals of for loops. it looks like im so close to fully grasping grabbing an item out of a list, but not quite. examples below

<- View Parent
Osnapitsjoey@lemmy.one ⁨1⁩ ⁨year⁩ ago

Yeah I figured that one out from the documentation. I with I saved more of my trial and errors so I could show you guys what I needed help with better. I tried the list.insert(x) and then I would do a list.pop(i+1) as well 😂

I guess what I need help with is I keep messing up where I would put "for x in y: z= y [in position z]

source
Sort:hotnewtop