[solved] – Question 791
Assume that a variable named plist refers to a list with 12 elements, each of which is an int . Assume that the variable k refers to a value between 0 and 6 . Write a statement that assigns 15 to the list element whose index is k .
and
Assume that a variable named plist has been defined and is associated with a list that consists of 12 elements. Assume further that k refers to an int between 2 and 8 . Assign 22 to the element just before the element in plist whose index is k .
Expert Answer
OR

