
Install python from python.org to begin learning Python, and then install Visual Studio Code, the code editor you'll use to write, debug, and run your Python code.
Learn how to use the print function to display text in the terminal, following the format print(open brackets, open quotation marks, and the message) and practice with examples.
Write and run a Python program to print hello world using the print function in Visual Studio, saving the file with a .py extension and viewing the terminal output.
Write notes in your Python programs using hashtags to start single-line comments. Use them to track thoughts and keep notes on separate lines, noting they do not affect code.
Learn how to declare and use variables as containers for numbers and text, follow naming rules (start with a letter or underscore, case sensitive), and print their values in Python.
Practice reassigning values to variables in Python, switching data such as numbers and text. See how x changes from five to nine and how A equals B after assignment.
Learn how to perform multiple assignments in Python, including chained assignment x = y = z = 5 and a single statement like food1, food2, food3 = cookie, pie, pancake.
Learners discover strings as sequences of characters enclosed in quotation marks, print and store them in variables, and use backslash n to create new lines in Python strings.
Learn how Python counts characters in a string by counting from zero, as shown with 'Hello'. H is zero-th character, E is the first, and the string has five characters.
Learn to access specific characters and slice strings in Python using zero-based indexing. Practice printing a single character, the first five characters, and the last two exclamation marks.
Concatenate strings by using the plus operator to join two or more strings, as shown in a hello world example that demonstrates inserting a space to control output.
Learn how the find method locates the first occurrence of a word in a string, returns its index, and uses -1 when the word is not found, with concrete examples.
Explore numbers as a data type in Python alongside strings. Distinguish integers, without decimals, from floats with decimals, and practice printing variable values.
Explore arithmetic operators in Python, including addition, subtraction, multiplication, division, and modulus, and learn to apply them to numbers and variables using print.
Explore comparison operators and booleans in Python, using symbols like <, >, <=, >=, ==, and != to determine true or false outcomes in simple print statements.
Explore Python logical operators and, or, not, learning how they combine statements to yield true or false. See examples with A, B, and C to test conditions.
Learn to take user input with Python's input function, store it in a variable, and print a personalized greeting to create interactive programs.
Convert user input strings to numbers by using int() or float() to cast values into integers or decimals, preparing numeric data for projects.
Explain the Python if…else statement using booleans and comparison operators to run code when conditions are true, with examples of greater, equal, not equal, and greater or equal.
Learn the Python if-else syntax with colon placement and proper indentation, and see how the true and false branches execute using example body statements.
Explore how to use the if, elif, and else chains to handle multiple conditions in Python, with syntax rules like colons and indentation and practical examples comparing A and B.
Learn how to use Python for loops to iterate over strings and ranges, master the for value in sequence syntax, and apply colon and indentation rules through examples.
Create loops.py in Visual Studio Code, define my_string as 'Hello', and use a for loop for C in my_string to print each character on its own line.
Discover how to loop through a range with Python’s for loop and range(start, end). Create a running sum from 1 to 10 and print the final total.
Do you have no experience with coding and need a step-by-step course to guide you?
Are you learning Python programming for the first time?
Or do you need to brush-up on your basic knowledge about Python programming?
If so, this course is for you!
Start learning how to code in one of the easiest and most beginner-friendly coding languages: Python. While is Python an easy-to-learn language for beginners, keep in mind that it can get very useful and is used for many advanced-level projects. You will begin learning Python from the very basics, from downloading all the tools you’ll need to learning about variables, strings, conditional statements, operators, loops, and more. You will get to apply the concepts that you learn through small activities and 2 mini projects at the end of the course. You will have a strong foundation and clear understanding of the basics of Python programming.
If you’re exploring what programming is all about, how it works, and whether it’s right for you, this course is perfect for you.
If you’re serious about Python programming, this course can be just the beginning for you. Once you gain a strong foundation you can go on to learn how to do more advanced and some really cool things with Python.
Or, if you want to learn other programming languages, starting with Python will help you understand coding concepts in an easy way, and it will be much easier for you to learn other languages such as Java and C++, as you'll already be familiar with the basic coding concepts.