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

Full Python Notes Handwritten

Uploaded by

amnetanishk
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)
2 views11 pages

Full Python Notes Handwritten

Uploaded by

amnetanishk
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

Chapter 1: Introduction

Python is an easy programming language.

Used in sports analytics, automation and data analysis.

Example: Player stats and performance tracking.

Important: Practice code daily for mastery.


Chapter 2: First Program

print("Hello World")

Output: Hello World

Important: Practice code daily for mastery.


Chapter 3: Variables

name = "Virat"

runs = 100

Variables store data.

Important: Practice code daily for mastery.


Chapter 4: Data Types

String = text

Integer = whole number

Float = decimal

Boolean = True/False

Important: Practice code daily for mastery.


Chapter 5: Input

name = input("Enter name: ")

Input takes value from user.

Important: Practice code daily for mastery.


Chapter 6: Operators

+ - * / %

Used for calculations.

Important: Practice code daily for mastery.


Chapter 7: If Else

if score >= 50:

print("Good innings")

else:

print("Needs improvement")

Important: Practice code daily for mastery.


Chapter 8: Loops

while loop and for loop

Used to repeat code.

Important: Practice code daily for mastery.


Chapter 9: Lists

players = ["Virat","Rohit","Dhoni"]

Important: Practice code daily for mastery.


Chapter 10: Dictionary

player = {"name":"Virat","runs":13000}

Important: Practice code daily for mastery.


Chapter 11: Functions

def greet():

print("Hello")

Important: Practice code daily for mastery.

You might also like