Suppose that lst a b c d e f then what

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: , "blue"]+["orange"])[1] _ "blue" _ 7. Suppose that lst = ["a", "b", "c", "d", "e", "f"] then what is the value of the expression? lst[2:4] _ ["c", "d"] __ 8. Suppose we execute the statement: lst[0] = "z" then what is the value of variable lst? __ ["z", "b", "c", "d", "e", "f"]_ 9. Suppose x is any list, then what is the value of the following expression? x + == x ___ True ___ 10....
View Full Document

This document was uploaded on 03/18/2014 for the course CMPT 120 at Simon Fraser.

Ask a homework question - tutors are online