Vidyalelo
Python · Q14

Python Introduction and basic

Programming · Python · question 14

Q14

Which of the following is NOT a Python data type?

A.
Integer
B.
Float
C.
Character
Answer
D.
String

Answer: Option C

Solution

Answer: Option C
Solution:
In Python, Character is not a built-in data type.
Python does not have a specific data type called "Character." Instead, individual characters are represented as strings of length one. Therefore, strings encompass both single characters and longer sequences of characters. The other options, Integer, Float, and String, are all valid data types in Python for representing integers, floating-point numbers, and sequences of characters, respectively.