noknow.dev
Sign inSign up
Course overview
Python Fundamentals
0 / 6 lessons0%

Getting Started

  • Hello, World!
  • Variables and Types
  • Working with Strings

Decisions & Loops

  • if / elif / else
  • for Loops and range()

Functions

  • Writing Your Own Functions

Hello, World!

0m 00s

Your first Python program

Python is known for its clean, readable syntax. Output is done with print():

print("Good morning!")
# Output: Good morning!

A few things that make Python special:

  • No semicolons at the end of lines
  • Indentation is part of the syntax (important!)
  • Comments start with #

You can print multiple values:

print("Age:", 25)
# Output: Age: 25

print("Sum:", 3 + 4)
# Output: Sum: 7

Your task

Print your name and age — each on its own line:
Name: [your name]
Age: [your age]

First lesson
pythonCtrl+Enter to run
Output

Click "Run" to execute your code.