Python Tutorial for BeginnersLesson 1 · Python tutorial for beginners
0/33

Python Tutorial for Beginners

Learn the basics, then build small things that actually work.

33 lessonsAbout 14 hoursVideo by Bro CodeFree certificate
0/33 done

Lesson 1 of 33 · Start here

Video by Bro Code

Lessons

0 of 33 done · 6 chapters

Start here

Python tutorial for beginners

See the shape of Python and write your first lines of code.

Visual note · Lesson 5One condition. Two possible paths.
About this course

This chapter

Get comfortable with Python's building blocks.

By the end of the course you can build

  1. Small calculators and converters
  2. Interactive games and quiz programs
  3. Programs that read files and use APIs
  4. A simple weather app with a GUI

Pause after each project and change one thing yourself. That small experiment is where the lesson becomes a skill.

Chapter quick checkCovers all 6 lessons

Quick check

3 questions on “Start here”

Practice, not a test. Get 2 of 3 right to mark this chapter as checked.

1/3input() always returns text. What happens when this code runs?
age = "21"  # what input() gives you when the user types 21
print(age + 1)

2/3What does this loop print?
for i in range(1, 5):
    print(i, end=" ")

3/3What does this program print?
temp = 30
if temp > 25:
    print("hot")
elif temp > 15:
    print("warm")
else:
    print("cold")