Computer Science, asked by santhi10947492, 4 months ago

name the 4 types of scalar objects python has

Answers

Answered by Anonymous
0

Answer:

The basic built-in scalar types we'll look at are:

int — signed, unlimited precision integers.float — IEEE 754 floating-point numbers.None — a special, singular null value.bool — true / false boolean values.

Answered by Anonymous
1

Python:

Built-in types in Python are powerful enough to be utilized on their own for many programming tasks, and they can also be used to create more sophisticated data types.

int:

  • Python integers are signed and have limitless precision for all practical purposes.

float:

  • The float type in Python supports floating-point numbers.
  • Python floats are IEEE-754 double-precision floating-point numbers with a binary precision of 53 bits.

None:

  • None, spelled with a capital N, is a special null value in Python.
  • The word "none" is frequently used to denote the lack of a value.

bool:

  • The bool type reflects logical states and is used extensively in Python's control flow structures.
Similar questions