Mastery09

  • Basic types and their use in Python

The basic types of variables are:

Char: Used to write just one letter. (a)

String: Used to write text. (hello world)

Int: used to assign numbers. (3, 3, 33 , 2223, -1)

Float: Used to assign decimal numbers. (3.33 34343.32 2.2451)

Mastery09

CC BY 4.0 Mastery09 by Pacok27 is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.