Python Programming - Data Types - Discussion

Discussion Forum : Data Types - General Questions (Q.No. 12)
12.
Which of the following data types is used to represent a single character?
int
bytes
complex
str
Answer: Option
Explanation:
In Python, a single character is represented as a string of length 1. For example, the string "a" represents the character 'a'.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.