menu

Python Variables and Data Types

Python Variables and Data Types - Important Points


16. Which of the following data types is immutable?

A. List

B. Dictionary

C. Tuple

D. Set

Discuss Work Space

Answer: option c

Explanation:

A tuple is a collection of items that are ordered and immutable. Once a tuple is created, its values cannot be modified.

17. Which of the following is not a valid Python data type?

A. Complex

B. Byte

C. Long

D. Double

Discuss Work Space

Answer: option d

Explanation:

There is no data type called "double" in Python. The equivalent data type is the float.


Subscribe for Latest Career Trends
Subscribe Now
Use AI and ChatGPT for Career Guidance

Unlock Your Future

Join Now
Worried for Placements in 2024?

Join FAST TRACK Course

Join Now
Supercharge Your SUCCESS

Join All in One Placement Mock Tests-2024

Join Now