9
AssignmentMultiple Select

Variables and Data Types

Question 9 • Introduction to Information Technology - EL3701

Identify the correct characteristics of Python strings. Check all that apply.

Answer
A
Python strings connect sets of characters inside quotation marks.
B
Python strings change numbers into integers.
C
Python strings can be used to store text.
D
Python strings use either single quotes or double quotes.

Explanation

A Python string is a sequence of characters enclosed in quotation marks, so A is correct. Strings are used to store text, making C correct, and Python allows strings to be written with either single or double quotes, making D correct. Strings do not convert numbers into integers; that requires a conversion such as int().

AI-written and checked against the verified answer.

Previous
Next