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]​

Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.