Question:

Which of the following is the output of the below Python code?
[Note: Python 2.7.5 and above]

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

Answers:


Keywords:

© 2017 QuizBucket.org