1. >CBSE Class XII
  2. >Computer Science
Found 3  QuestionsSET DEFAULT
Selected Filters
    CBSE Class XII Computer Science Python Libraries
Exams
Years
Subjects
Topics

List of top Computer Science Questions on Python Libraries asked in CBSE Class XII

Write a Python statement to perform the following tasks: (USE BUILT_IN FUNCTIONS / METHODS ONLY)

(i) To create a new list L1 containing the elements of list L arranged in ascending order, without modifying list L.

(ii) A statement to check whether the given character, ch is an alphabet or a number.

  • CBSE Class XII - 2026
  • CBSE Class XII
  • Computer Science
  • Python Libraries

Assertion (A): [1,2,3]+'123' is an invalid expression in Python.

Reason (R): In Python, a list cannot be concatenated with a string.

  • CBSE Class XII - 2026
  • CBSE Class XII
  • Computer Science
  • Python Libraries

If L is a list with 6 elements, then which of the following statements will raise an exception?

  • CBSE Class XII - 2026
  • CBSE Class XII
  • Computer Science
  • Python Libraries