
Repl Link: repl.it
Write your first Python program by printing strings and numbers, grasp syntax and quotation marks, and use hashtags for comments; learn Mac and Windows shortcuts to comment code.
Explore Python variables by identifying integers, floats, booleans, and strings, and assigning and updating their values. Learn to print results and concatenate strings with proper spacing using Python syntax.
Explore how Python applies the order of operations, and master arithmetic operators: addition, subtraction, multiplication, division, exponents, parentheses, and modulo.
Build a Python grocery shopping project: define items, counts, and prices, manage a cart and sales tax, and print a receipt plus remaining stock.
Learn how the input function captures user input, use if statements with == to compare choices, and convert strings to integers with int() for numeric operations.
Master boolean operators in Python with not, and, or, and learn their order of operations through step-by-step examples, if statements, and real-world age scenarios.
This lecture guides building an interactive text adventure in Python, teaching user input, string normalization with lower(), and branching choices among dagger, sword, and short club to escape a dungeon.
As our world becomes more and more technologically advanced, we become immersed in a digital era. In these modern times, it is important to learn how to code, and especially important for students to learn as the possibilities surrounding code are infinite. Especially with the current advent of machine learning, Python is one of the easiest and most powerful languages available, and having it in your arsenal is an excellent tool in this day and age. This is Part 1 of a 4 part course in Python.