Python Practical Synopsis
Python Practical Synopsis
CERTIFICATE 3
2. Introduction to Python 4
3. Uses of Python 5
4. Input Function Introduction 6
5. Input Function Example 7
6. List of Arithmetic Operators 9
7. Arithmetic Operators Program 10
8. List of Relational Operators 11
9. Relational Operators Program 12
10. WAP to identify if a number is 13
Even or Odd
11. WAP to find the average 14
temperature of the week
12. WAP to reverse any 2 digit 15
number
13. WAP which functions as a 16
basic calculator
2.Introduction To Python
Guido van Rossum started implementing Python in 1989. Python is a very simple
programming language so even if you are new to programming, you can learn
python without facing any issues.
Interesting fact: Python is named after the comedy television show Monty Python’s Flying Circus. It is
not named after the Python snake.
Mainly developed for emphasis on code readability, and its syntax allows
programmers to express concepts in fewer lines of code.
3.Uses of Python
etc.
compatible with many devices and used for many apps such as Spotify,
Google and Facebook. But since its very versatile, we can solve A.I and
Apps like Uber use python to not only increase user interaction but also
Assuming that X and Y are two values that are input before the code is
written –
Addition - a= x+y
Subtraction - b= x-y
Multiplication - c=x*y
Division - d=x/y
Percent of - e=x%y
Floor Division - f= x//y
Exponent - g= x**y
7.Arithmetic Operators Program
8.List of Relation Operators
Assuming that x and y are values that are input before coding