Question:

Which of the following is the output of the below Python code?

mylist=['a', 'aa', 'aaa', 'b', 'bb', 'bbb']
print(mylist[:-1])

Answers:


Keywords:

© 2017 QuizBucket.org