Sobes.tech
Junior — Middle

Can you name the main built-in primitive data types used in Python?

sobes.tech AI

Answer from AI

The main built-in primitive data types in Python:

  • int — integers, for example: 42
  • float — floating-point numbers, for example: 3.14
  • bool — boolean values: True or False
  • str — strings, for example: 'Hello'
  • bytes — sequence of bytes, for example: b'abc'

These types are the basic building blocks for working with data in Python.

Can you name the main built-in primitive data types… - sobes.tech