Python Learning – Day 1: Introduction, print() and Variables
📌 Introduction
Python is one of the most popular and beginner-friendly programming languages in the world.
In this learning journey, I am documenting my daily Python classes so that anyone can learn Python step by step along with me.
In Day 1, I learned the very basics of Python, including how to print messages and how to store data using variables.
📚 Topics Covered in Day 1
In this lesson, I learned the following topics:
- What is Python
- How Python prints output using
print() - What are variables
- How to store and display data
🧠 What is Python?
Python is a high-level programming language that is easy to read, write, and understand.
It is widely used in:
- Web development
- Data analysis
- Automation
- Artificial Intelligence
- Cybersecurity
Python is perfect for beginners because its syntax is very simple and close to English.
🖨️ Printing Output in Python (print())
To display any message on the screen, Python uses the print() function.
Example:
print("Hello, Python")
print("My name is Hiranmoy")
Output:
Hello, Python
My name is Hiranmoy
The print() function tells Python what to show as output.
📦 Variables in Python
A variable is like a container that stores data.
We can give a name to a value and use it later.
Example:
name = "Hiranmoy"
age = 22
city = "Haldia"
print(name)
print(age)
print(city)
Output:
Hiranmoy
22
Haldia
Here:
name,age, andcityare variables=is used to assign values- Python stores the data in memory
🔗 Using Text with Variables
We can also combine text and variables using print().
Example:
name = "Hiranmoy"
age = 22
print("My name is", name)
print("I am", age, "years old")
Output:
My name is Hiranmoy
I am 22 years old
🌍 Real-Life Example
Variables are used everywhere in real life:
- Contact name and number
- Login username
- User profile details
Python variables work in the same way by storing information.
✅ What I Learned Today
- How Python displays output
- How to create and use variables
- How to write simple Python programs
- Basic structure of Python code
This lesson helped me understand the foundation of Python programming.
🔜 Next Lesson (Day 2)
In Day 2, I will learn about:
- Python Operators
- Mathematical calculations
- Real-life examples like bills and discounts
📢 Final Note
This learning series is completely beginner-friendly.
Anyone who wants to start learning Python can follow these daily posts.
Thank you for reading.
Okay, so I tried 666winrealmoney and I gotta say, it’s not bad! Hoping to actually win some real money here. Fingers crossed! Worth a try if you feeling lucky. 666winrealmoney