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.
Related Questions on Introduction to Python
What is Python primarily used for?
A. Web browsing
B. Data analysis
C. Video editing
D. Game development
Who developed Python Programming Language?
A. Wick van Rossum
B. Rasmus Lerdorf
C. Guido van Rossum
D. Niene Stom
Which of the following is an advantage of Python?
A. It compiles to machine code
B. It enforces strict typing
C. It has a large standard library
D. It requires extensive memory management
What is the role of the Python interpreter?
A. To convert Python code to assembly language
B. To manage memory allocation
C. To execute Python code line by line
D. To compile Python code into bytecode
Join The Discussion