Key Ideas
1What is a Variable?. A variable is a named container that stores a value in your computer's memory. You give it a name, assign a value with =, and from that point on you can use that name ...
2Naming Rules & Best Practices. Variable names must follow specific rules, and following good conventions makes your code professional and readable.
3Python's Core Data Types. Every value in Python has a type. The five most important types you'll use every day are:
4Checking Types with type(). Python's built-in type() function tells you exactly what type a variable or value is. This is incredibly useful for debugging — especially when a program isn't behavin...
5Type Conversion (Casting). Sometimes you need to convert a value from one type to another. For example, user input is always a string — if you want to do maths with it, you must convert it to in...