Examveda

Which of the following is NOT a Python data type?

A. Integer

B. Float

C. Character

D. String

Answer: Option C

Solution (By Examveda Team)

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.

This Question Belongs to Python Program >> Introduction To Python

Join The Discussion

Related Questions on Introduction to Python