1. What is the output of print(extendList(10)) in default argument function with mutable list?
2. "madam" is a palindrome. What will is_palindrome("madam") return?
3. What does 'is' compare in Python?
4. word_count("hello hello world") returns:
5. What is the output of this code? a = [1, 2]; b = a; a.append(3); print(b)
6. Which method is called when an object is created?
7. Which block catches a divide-by-zero error?
8. What does [n for n in list if n%2==0] return?
9. What are *args used for?
10. What does readlines() do in file handling?