Python
Python is a programming language
Python is invented by guido van resum in 1991
Current version of python is 3.13.2
Python can support
1)object oriented language
2)scripting language
3)procedure oriented language
4)modulus programming language
Features of python :
1) open source
2) platform independent
3) simple and easy
What are the softwares installed in python
1. Core interpreter 1. Pip
2. Standard library 2. documentation
3. Development library 3. Tcl /tk idle support
4. Executable jars 4. Test suit and pv lancher
Data types in python :
1. Int
2. Float
3. Complex
4. Bool
5. None type
6. Str
7. Range
8. List
9. Tuple
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
1.)integer:
Interger is a number which is used to store whole numbers
with using decimal points
Interger can be positive or negative or zero
Ex: A=10
B=20
Print(A+B)
Print(A-B)
Print(A/B)
Print(A//B)
Ex:2 num = int(input("Enter a number: "))
if num % 2 == 0:
print("Even number")
else:
print("Odd number")