0% found this document useful (0 votes)
17 views2 pages

Python Handwritten Notes

This document provides beginner-level notes on Python programming, covering topics such as variables, data types, input/output, operators, conditional statements, loops, functions, lists, dictionaries, object-oriented programming basics, and important libraries like NumPy and Pandas. It emphasizes Python's versatility in fields like AI, ML, and web development. Each section includes brief explanations and examples for clarity.

Uploaded by

dhruvojha9369
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)
17 views2 pages

Python Handwritten Notes

This document provides beginner-level notes on Python programming, covering topics such as variables, data types, input/output, operators, conditional statements, loops, functions, lists, dictionaries, object-oriented programming basics, and important libraries like NumPy and Pandas. It emphasizes Python's versatility in fields like AI, ML, and web development. Each section includes brief explanations and examples for clarity.

Uploaded by

dhruvojha9369
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 (Beginner)

1. Introduction to Python
Python is a high-level, easy and powerful programming language.
It is used in AI, ML, Data Science, Web Development and Automation.

2. Variables
Variables store data.
Example:
a = 10
name = 'Dhruv'

3. Data Types
int -> numbers
float -> decimal
str -> text
bool -> True/False
list, tuple, set, dictionary

4. Input and Output


print() -> output
input() -> user input

5. Operators
Arithmetic: + - * / %
Comparison: == != > <
Logical: and, or, not

6. Conditional Statements
if, elif, else
Example:
if a > 10:
print('Greater')

7. Loops
for loop and while loop
Used to repeat tasks.

8. Functions
Reusable blocks of code.
def add(a, b):
return a + b

9. Lists
Ordered collection.
Example:
l = [1,2,3]

10. Dictionary
Key-value pair.
d = {'name':'Dhruv'}

11. OOP Basics


Class and Object.

12. Important Libraries


NumPy, Pandas, Matplotlib.

END

You might also like