cheatsheet2

  

Cheat-sheet (Data Types)

In this section, you learned that:

  • Integers are for representing whole numbers:

  • Floats represent continuous values:

  • Strings represent any text:

  • Lists represent arrays of values that may change during the course of the program:

  • Dictionaries represent pairs of keys and values:

  • Keys of a dictionary can be extracted with:

  • Values of a dictionary can be extracted with:

  • Tuples represent arrays of values that are not to be changed during the course of the program:

  • To find out what attributes a type has:

  • To find out what Python builtin functions there are:

  • Documentation for a Python command can be found with:



PYTHON PROGRAM SYNTAX SERIES


Comments

Popular Posts