Intro to programming with Python
Software
Software is a set of instructions to the hardware.
Programming
Programming means writing the instructions to create software.
Code
The instructions that we write to create software are called codes.
Syntax
Similar to Grammar rules in English, and Hindi, each programming language has a unique set of
rules. These rules are called the syntax of a programming Language.
Why python
Python is an easy-to-learn, powerful programming language.with python,it si possible to create
programs with a minimal amount of code. Look at the code in java and python used for printing
the message “Hello World”
Applications of python
Python is a versatile language which has applications in almost every field
● Artificial intelligence(Al)
● Machine Learning(ML)
● Big Data
● Smart Devices/Internet of Things(IoT)
● Cyber Security
● Game Development
● Backend Development etc.
Career Opportunities
Python developers have plenty of opportunities across the world.
● DevOps Engineer
● Software Developer
● Data Analyst
● Data Scientist
● Machine Learning (ML) Engineer
● AI Scientist, etc.
Hello World Program in Python
Here is a simple Python code that you can use to display the message “Hello World”
Possible Mistakes
Possible mistakes you may make while writing python code to display the
message “Hello World”
Printing Without Quotes
If we want to print the numerical result of 2 + 5, we do not add quotes.
If we want to print the exact message “2+5”, then we add the quotes.
Calculations with python
Addition
The addition is denoted by a + sign.
It gives the sum of two numbers.
Subtraction
Subtraction is denoted by -sign.
It gives the difference between two numbers.
Multiplication
Multiplication is denoted by the * sign.
Division
The division is denoted by / sign.