I am trying to understand the concept of what output this bit of code produces and why...
I know this is child's play to most of you and I'm kind of embarrassed to even be asking this but I just don't understand why, if letters like "i" or "v" aren't predefined keywords...and they haven't been assigned values in this piece of code... how am I supposed to be able to know the answer to what will be the printed result?
1st = [1, 2, 3] for v in range(len(1st)): 1st.insert(1, 1st[v]) print(1st)
I know this is child's play to most of you and I'm kind of embarrassed to even be asking this but I just don't understand why, if letters like "i" or "v" aren't predefined keywords...and they haven't been assigned values in this piece of code... how am I supposed to be able to know the answer to what will be the printed result?