0% found this document useful (0 votes)
2 views3 pages

Python

Python is a versatile programming language created by Guido van Rossum in 1991, with the current version being 3.13.2. It supports various programming paradigms such as object-oriented, scripting, and procedural programming, and features like being open source and platform independent. The document also outlines Python's data types and provides examples of integer operations.

Uploaded by

saikiransunny58
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Python

Python is a versatile programming language created by Guido van Rossum in 1991, with the current version being 3.13.2. It supports various programming paradigms such as object-oriented, scripting, and procedural programming, and features like being open source and platform independent. The document also outlines Python's data types and provides examples of integer operations.

Uploaded by

saikiransunny58
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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")

You might also like