Lesson 1: Setting Up Python

⏱️ 3 min read

Welcome to Python

Before we dive into logic and algorithms, we need to set up our development environment.

1. Download Python

Visit the official Python website and download the latest version for your operating system. Make sure to check the box that says “Add Python to PATH” during installation.

2. Verify Installation

Open your terminal or command prompt and type the following command to ensure Python is installed correctly:

python3 --version

3. Your First Script

Create a file named hello.py in your favorite code editor (like VS Code) and write your first line of code:

print("Hello, CrackTheLogic!")

Run it using your terminal:

python3 hello.py

Congratulations! You are now ready to start coding.

Ready to continue?

Move on to the next lesson to keep learning.

Continue: Lesson 2: Variables and Data Types

Tutorial: Python