21.
State if the following statement is True or False:
If T is a tuple and L is a list, then T+L is a valid statement in Python.
22. Identify the output:
s = "an apple. a toy."
s = [Link]('a', 2)
print(s)
23. What is the value of the following expression?
3 + 3, 3**3
24. What is the output?
Sports = "Paralympic Games"
print([Link]("m"))
25. What will be the output?
p = list("Session 2024-25")
print(p[10:20:])
26. If dictionary D1 = {1:'a', 2:'b'}, which statement is incorrect?
(A) [Link](1)
(B) [Link](3)
(C) [Link](1)
(D) [Link]()
27. Which list method accepts exactly two parameters?
(A) append()
(B) extend()
(C) insert()
(D) pop()
28. State True or False:
print() evaluates the expression before displaying.
29. Assertion & Reason:
Assertion: Every object has a unique ID.
Reason: ID remains same during lifetime.
30. Difference between = and == with examples.