Variable
Reserved memory location to store values
.py
Python file extension
Syntax highlighting
Makes the code more readable, and It can also help identify problems with examples.
Rules for naming variables in python
Traceback error
A record of where the IDE had trouble running the code.
Strings
Characters inside quotes.
Integers
Whole numbers, no fractions.
Floats
Numbers with a decimal point
Operations with Integers and Floats
The result will always be a float.
F-String
How to insert variable values into a string.
Methods
Action that Python performs on data.
.tittle()
Python method. Title case string.
.lower()
Python method. lower case string.
.upper()
Python method. upper case string.
\t
Tab. adds a tab space into text.
\n
New Lines. adds a new line into text.
How to remove whitespaces
a, b, c = 1, 2, 3
How to assign multiple values into multiple variables.
Comments
Adds non-executable comments to the code.
Constant variable
Variable whose value never changes.