- Hands-On Artificial Intelligence for Beginners
- Patrick D. Smith
- 35字
- 2025-02-23 08:58:29
Scalars
Scalars are nothing but singular, real numbers that can take the form of an integer or floating point. In Python, we create a scalar by simply assigning it:
my_scalar = 5
my_scalar = 5.098