Skip to content

Commit 15dab69

Browse files
committed
Added why-python.md to curriculum
1 parent 777f9e3 commit 15dab69

7 files changed

Lines changed: 51 additions & 11 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
id: print-function
3+
title: What is Python
4+
sidebar_label: 2. What is Python
5+
sidebar_position: 2
6+
---
7+
# Why Should You Use Python?
8+
9+
**Python** is a versatile, high-level programming language designed with a clear philosophy: code should be as easy to read as it is to write. Because its syntax closely mimics the English language, it removes the "language barrier" between your ideas and the computer, making it an ideal choice for beginners and professionals alike.
10+
11+
### What Can You Build with Python?
12+
Python’s flexibility allows it to thrive in almost every corner of the tech industry. Whether you are automating a small spreadsheet or powering a global social network, Python has the tools to handle it:
13+
14+
* **Web Development:** Powering the back-end of modern websites using frameworks like Django and Flask.
15+
* **Data Science & Math:** Analyzing massive datasets, performing complex calculations, and generating visualizations.
16+
* **Automation & Scripting:** Writing "glue code" to automate repetitive computer tasks or manage system administration.
17+
* **Software Tools:** Creating desktop applications (GUIs), command-line tools, and even game prototypes.
18+
* **DevOps & Infrastructure:** Managing cloud deployments and streamlining software delivery pipelines.
19+
20+
> **Real-World Impact:** You are likely using Python every day without knowing it. **Reddit** is built primarily on Python; **Dropbox** used it to scale from a prototype to a giant; and **Instagram** runs one of the world's largest deployments of the Python-based Django framework.
21+
22+
### Key Benefits for Developers
23+
What makes Python stand out in a sea of other languages? It focuses on developer productivity and community support.
24+
25+
* **Readable & Beginner-Friendly:** Python’s design favors clean code. You spend less time wrestling with complex syntax (like semicolons and curly braces) and more time solving actual problems.
26+
* **"Batteries Included" Philosophy:** Python comes with a massive **Standard Library**. Out of the box, you have tools for file processing, networking, cryptography, and more—no need to download third-party tools for basic tasks.
27+
* **Cross-Platform & Free:** It is completely open-source and runs seamlessly on Windows, macOS, and Linux. You can use it for personal projects or commercial products without licensing fees.
28+
* **A Massive Ecosystem:** Because Python is so popular, if you run into a problem, someone has likely already solved it. There are millions of tutorials, forums, and pre-built "packages" available to help you build faster.
29+
30+
### Technical Characteristics
31+
To understand why Python behaves the way it does, it helps to look at its underlying structure:
32+
33+
| Feature | What it means for you |
34+
| :--- | :--- |
35+
| **Interpreted** | You can run code as soon as you write it. There is no long "compilation" wait time, making it perfect for rapid experimentation. |
36+
| **Multiparadigm** | You aren't forced into one way of thinking. You can write code in **Object-Oriented**, **Functional**, or **Imperative** styles depending on the project. |
37+
| **Dynamically Typed** | You don't have to explicitly tell Python if a variable is a number or a word; it figures it out automatically at runtime. |
38+
| **Strongly Typed** | While Python is flexible, it is also disciplined. It won't allow "unsafe" actions—like trying to add a number to a sentence—without alerting you first. |
39+
40+
Python is more than just a programming language; it’s a gateway into the world of logic and creation. Whether you're looking to start a new career or just automate your workflow, Python provides the most accessible path forward.

curriculum/01-foundations/02-print-function.md renamed to curriculum/01-foundations/03-print-function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: print-function
33
title: The Print Function
4-
sidebar_label: 2. The Print Function
5-
sidebar_position: 2
4+
sidebar_label: 3. The Print Function
5+
sidebar_position: 3
66
---
77

88
# The Print Function: Recording Your First Entry
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: variables
33
title: Variables
4-
sidebar_label: 3. Variables
5-
sidebar_position: 3
4+
sidebar_label: 5. Variables
5+
sidebar_position: 5
66
---
77

88
# Variables: Labeling the Ledger

curriculum/01-foundations/05-numbers-and-math.md renamed to curriculum/01-foundations/06-numbers-and-math.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: numbers-and-math
33
title: Numbers and Math
4-
sidebar_label: 5. Numbers and Math
5-
sidebar_position: 5
4+
sidebar_label: 6. Numbers and Math
5+
sidebar_position: 6
66
---
77

88
# Numbers and Math: Balancing the Ledger

curriculum/01-foundations/06-comparisons.md renamed to curriculum/01-foundations/07-comparisons.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: comparisons
33
title: Comparison Operators
4-
sidebar_label: 6. Comparisons
5-
sidebar_position: 6
4+
sidebar_label: 7. Comparisons
5+
sidebar_position: 7
66
---
77

88
# Comparisons: Auditing the Ledger

curriculum/01-foundations/07-if-statements.md renamed to curriculum/01-foundations/08-if-statements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
id: if-statements
33
title: If Statements
4-
sidebar_label: 7. If Statements
5-
sidebar_position: 7
4+
sidebar_label: 8. If Statements
5+
sidebar_position: 8
66
---
77

88
# If Statements: The Fork in the Road

curriculum/01-foundations/project-1-text-adventure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: project-1-text-adventure
33
title: "Project 1: The Ledger of Fate"
44
sidebar_label: "🏆 Project 1: Text Adventure"
5-
sidebar_position: 8
5+
sidebar_position: 9
66
---
77

88
# 🏆 Project 1: The Ledger of Fate

0 commit comments

Comments
 (0)