Comments
Comments are an extremely useful feature in most programming languages. Everything you’ve written in your programs so far is Python code. As your programs become longer and more complicated, you should add notes within your programs that describe your overall approach to the problem you’re solving. A comment allows you to write notes in […]
Numbers
Integers Floats Integers and Floats Underscores in Numbers Multiple Assignment
Strings
What are strings? A string is a group or series of characters. Anything inside quotes is considered a string in Python, and you can use single or double quotes around your strings like the following: “This is a string” ‘This is also a string’ Changing Case in a String with Methods […]
Variables
What are variables? Variables are often described as boxes or containers that you can store values in, however, this is not an accurate way to describe how variables are represented internally in Python. It is much better to think of variables as labels that you can assign to values. You can also say that […]
