Posts

My First Python Program – Learning print() and Variables

Image
        THEORY AND PRACTICAL   • This program shows how to use variables in Python. • name is a variable that stores text data (string). • age is a variable that stores number data (integer). • print(name) displays the stored name on the screen. • print(age) displays the stored age on the screen. • Python reads the program line by line. • Variables help us store and reuse data easily.        Today I wrote my first Python program. I started learning the basics of Python programming.   The first thing I learned is the print()   Print() is used to display output on the screen. Example:     Print(“Hello   World " ) When I run this code, it shows Hello World on the screen. Like this: Then I learned about variables. Variables are used to store data.  Example:- name  = "Dhanush” age   =   18 print(name) Print(age) Like this : In this program: • name stores my name • age store...

My First Python Program – Learning print() and Variables

Today I wrote my first Python program. I started learning the basics of Python programming. The first thing I learned is the print() function. print () is used to display output on the screen. Example:-                   print ("Hello World") When I run this code, it shows Hello World on the screen. Then I learned about variables. Variables are used to store data. EXAMPLE:-  name = "Dhanush"                      age = 18     [ print(name)       print(age) ] In this program: name stores my name age stores my age I understood that Python reads code line by line. This is just the beginning of my Python journey. Tomorrow I will learn about data types.

Why I Started Learning Python as a Diploma Student

Image
 Hello everyone, My name is Dhanush and I am a diploma student. I want to become a pilot in the future, but I also want a strong technical skill. I chose Python because it is beginner-friendly and very powerful. Python is used in: - Artificial Intelligence. - Ethical Hacking. - Automation. - Web Development. In this blog, I will share: - What I learn daily - Python programs - My mistakes and improvements This is Day 1 of my Python journey 🚀