Question 1 of 10
days=["Mon","Tue","Wed"]. DISPLAY (days[1])?
- A. Wed
- B. 1
- C. Mon
- D. Tue
days=["Mon","Tue","Wed"]. DISPLAY (days[1])?
stack=[9,8,7]. APPEND(stack,6) then REMOVE(stack,2). Final?
grid=["a","b","c","d","e"]. INSERT(grid,3,"z") then REMOVE(grid,5). Remains?
vals=[2,4,6]. REMOVE(vals,1) twice. LENGTH?
L=[11,12,13,14]. INSERT(L,4,0) then INSERT(L,1,-1). Final?
names has LENGTH 5. Valid indexes?
cart=["pear","fig","date"]. cart[3] โ cart[1]. cart?
seq=[1,1,1]. REMOVE(seq,2) then APPEND 2 then APPEND 3. Final list and length?
row=[7,8,9,10]. After INSERT(row,2,8), how many times does 8 appear?
Which decreases LENGTH by exactly 1?