CBSE Class 12 Computer Science — Python Revision Tour
All previous year questions from Chapter: Python Revision Tour
3 questions found
← Back to Computer Science
2026(3 questions)
- 20
Assertion (A) : [1,2,3]+'123' is an invalid expression in Python. Reason (R) : In Python, a list cannot be concatenated with a string.
1 mark· A· Type Compatibility in Python Concatenation - 23
To create a new list L1 containing the elements of list L arranged in ascending order, without modifying list L.
1 mark· B· Sorting a List — sorted() - 24
A statement to check whether the given character, ch is an alphabet or a number.
1 mark· B· Checking Alphanumeric Characters — isalnum()