🐍 Lesson 1: Introduction to Python

Welcome to your first step into the world of Python! Python is one of the most popular and beginner-friendly programming languages used in fields ranging from web development and automation to data science, AI, and robotics.

πŸ“˜ Why Python?

🧠 What Will You Learn?

🎯 Learning Objectives

πŸ’» Code Examples

# This is a comment
print("Hello, world!")

# Variables
name = "Ali"
age = 16
print(name)
print(age)

πŸ“Œ More Examples

print(3 + 2)
print(10 - 4)
print(6 * 7)
print(20 / 5)
greeting = "Hi"
name = "Ali"
print(greeting + ", " + name + "!")

πŸ“ Your Assignment

Write a Python program that prints your name and your favorite number. Here's a starter:

print("My name is ___")
print("My favorite number is ___")
← Back to Dashboard