Python Multiple Choice Questions And Answers
Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:
List of Programming Full Forms
print([i.lower() for i in "HELLO"])
- [‘h’, ‘e’, ‘l’, ‘l’, ‘o’].
- hello
- hel
- HELLO
- dictionary
- list
- tuple
- All of the above
list1 = [1, 2, 3, 4]
list2 = [5, 6, 7, 8]
print(len(list1 + list2))
- 6
- 36
- 8
- 4
- [2, 6, 4].
- [1, 3, 2, 3, 2, 1]
- [1, 3, 2, 1, 3]
- [1, 3, 2, 1, 3, 2] .
- List is mutable & Tuple is immutable
- List is immutable
- Tuple is mutable
- None of the above