Computer Science, asked by khyishukumari51520, 9 months ago

which one is not a valid data type in Python​

Answers

Answered by anjalin
0

Complete question:

Which of the following is not a valid data type in python ?

A. int

B. float

C. double

D. str

Answer:

C. double is not a valid data type in python.

Explanation for the answer:

  • Python also provides features of some built-in data types, in particular such as dict , list , set and frozenset , and tuple .
  • The str class is used in holding Unicode strings, and the bytes and bytearray classes are used in holding binary data.
  • Hence, the correct answer among all the options is option C. double.

(#SPJ3)

Answered by golusolu
0

Complete answer :

Which of the following is not a valid data type in python?

A. int

B. float

C. double

D. str

Answer :

(c) Double is not a valid data type in python.

Valid data types in python :

  • Text Type:         str
  • Numeric Types: int, float, complex
  • Sequence Types: list, tuple, range
  • Mapping Type: dict
  • Set Types:         set, frozenset
  • Boolean Type: bool
  • Binary Types: bytes, bytearray, memoryview
  • None Type:            none type

#SPJ2

Similar questions