0% found this document useful (0 votes)
11 views1 page

Python Handwritten Notes

Python is a high-level, interpreted, and object-oriented programming language that uses variables to store data and has various data types. It includes features such as conditional statements, loops, functions, and exception handling, along with OOP concepts like classes and inheritance. Popular libraries include NumPy, Pandas, Matplotlib, and Scikit-learn.

Uploaded by

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

Python Handwritten Notes

Python is a high-level, interpreted, and object-oriented programming language that uses variables to store data and has various data types. It includes features such as conditional statements, loops, functions, and exception handling, along with OOP concepts like classes and inheritance. Popular libraries include NumPy, Pandas, Matplotlib, and Scikit-learn.

Uploaded by

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

PYTHON HANDWRITTEN NOTES

Python is a high-level, interpreted, and object-oriented programming language.

Variables are used to store data. Example: x = 10

Data types include int, float, string, boolean, list, tuple, set, dictionary.

Input is taken using input() and output is shown using print().

Operators: Arithmetic (+, -, *, /), Logical (and, or, not), Comparison (==, !=).

Conditional statements: if, elif, else are used for decision making.

Loops: for loop and while loop are used for repetition.

Functions are defined using def keyword. They help in code reusability.

Lists are mutable, tuples are immutable.

Dictionary stores data in key-value pairs.

Exception handling is done using try and except.

OOP concepts include class, object, inheritance, polymorphism, encapsulation.

File handling is done using open(), read(), write(), and close().

Popular libraries: NumPy, Pandas, Matplotlib, Scikit-learn.

You might also like