Introduction to Python
Programming
An overview
What is Programming?
• Programming is the process of developing instructions or codes, that will be
used to communicate with the computer to accomplish our required tasks or
solve problems.
• And the language that we use to communicate with the computer is called a
programming language. E.g. C, C++, Python, Java etc.
What is Python?
• Python is a high level, interpreted programming language known for its
simplicity and readability.
• (Interpreted means line by line execution)
• Developed By a Dutch Programmer named Guido van Rossum in 1991.
Why Choose Python?
• Easy to read and Learn.
• Widely used and easier learning curve.
• Versatile (Web Dev, AI ML, Data Science, Games)
• Large Community support
• Free and Open Source
Writing your First code in Python.
Code
Output
Variables in Python
• A variable is a name used to store a value in python.
• For example
Example in Python
Code
Output
Data Types in Python
• In Python, data types are used to classify data items and determine what
operations can be performed on them.
Commonly used Data types in Python
• Text Type = str
• Numeric type = int, float, complex
• we will be discussing about these data types today.
Write a program to provide your name, age and your school
name.
Code
Output