π Day 1: Kickstart Your Python Journey!
Objective: Set up Python, write your first program, and grasp core basics.
---
π What is Python?
- A versatile, beginner-friendly language used for:
_Web dev β’ Data science β’ AI/ML β’ Automation β’ and more!_
- Known for clean syntax and readability.
---
π Setup Guide
1. Install Python:
- Download from [python.org](https://www.python.org/downloads/)
- βοΈ Check "Add Python to PATH" during installation.
2. Choose an Editor:
- VS Code (recommended) or PyCharm.
3. Verify Installation:
---
β¨ Your First Python Program
1. Create
2. Run it in the terminal:
Output:
---
π Key Concepts
- Comments: Use
- Printing: Display output with
---
π Try the Python Shell
Type
---
π» Practice Tasks
1. Print your name:
2. Math operations:
---
### π― Day 1 Goals
- [x] Understand Pythonβs purpose.
- [x] Set up your coding environment.
- [x] Write/Run your first script.
- [x] Master
Letβs crush Day 1! πͺ
π *Share your code screenshots in the comments!*
#PythonBasics #LearnToCode #CodingJourney #Python101
Objective: Set up Python, write your first program, and grasp core basics.
---
π What is Python?
- A versatile, beginner-friendly language used for:
_Web dev β’ Data science β’ AI/ML β’ Automation β’ and more!_
- Known for clean syntax and readability.
---
π Setup Guide
1. Install Python:
- Download from [python.org](https://www.python.org/downloads/)
- βοΈ Check "Add Python to PATH" during installation.
2. Choose an Editor:
- VS Code (recommended) or PyCharm.
3. Verify Installation:
bash
python --version
# Should display e.g., "Python 3.11.4"
---
β¨ Your First Python Program
1. Create
day1.py
and add: python
print("Hello, World!")
2. Run it in the terminal:
bash
python day1.py
Output:
Hello, World!
---
π Key Concepts
- Comments: Use
#
to explain code (ignored by Python). python
# This prints a message
print("Comments are useful!")
- Printing: Display output with
print()
. python
print("Python is fun! π")
---
π Try the Python Shell
Type
python
in your terminal to start experimenting: python
>>> print("I'm coding live!")
>>> 5 * 3
>>> 100 / 4
---
π» Practice Tasks
1. Print your name:
python
print("My name is [Your Name]")
2. Math operations:
python
print(8 + 4)
print(15 * 2)
---
### π― Day 1 Goals
- [x] Understand Pythonβs purpose.
- [x] Set up your coding environment.
- [x] Write/Run your first script.
- [x] Master
print()
and comments. Letβs crush Day 1! πͺ
π *Share your code screenshots in the comments!*
#PythonBasics #LearnToCode #CodingJourney #Python101
Python.org
Download Python
The official home of the Python Programming Language