Assume the following list in python. letters=[“a”,”b”,“o”,“c”,“p”]
what would be the results of these:
(a)letters[-1]
(b)letters[2:5:2]
(c)letters[2:-5:2]
(d)letters+[“x”]
(e)letters[len(letters)-2]
Share
Assume the following list in python. letters=[“a”,”b”,“o”,“c”,“p”]
what would be the results of these:
(a)letters[-1]
(b)letters[2:5:2]
(c)letters[2:-5:2]
(d)letters+[“x”]
(e)letters[len(letters)-2]
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies