Notes To (“Python Crash Course”, 2023)

TERMS

  • Every variable is connected to a value, which is the information associated with that variable.
  • A string is a series of characters; anything inside of quotes is considered a string (in Python).
  • A method is an action that Python can perform on a piece of data.
  • f-strings ~ f is for format; Python formats the string by replacing the name of any variable in braces with its value.
  • A whitespace refers to any non printing character (spaces, tabs, and end-of-line symbols).
  • Python calls any decimal number a float. A float, which refers to the fact that the decimal pint can appear anywhere in the number.
  • A constant is a variable whose value stays the same throughout the life of the program.
(“Python Crash Course”, 2023)

Pages: 1 2 3 4