Datacamping

Learning how to code data

This has been an interesting process but pleasingly better then other languages. I just learned a little about what is below.

int or integer a number without a fractional part. savings has the value of 100, this is an example of an integer

float, or floating point: a number that has a fractional part and is separated by a point.

There are two other common data types str and bool

Guess the Type

  • I learned that I can do type() and put variable in the prothesis and see what type it is.

Operations with other types