Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Basic Python Notes with theory questions and code program

Rating
-
Sold
-
Pages
24
Uploaded on
10-04-2026
Written in
2025/2026

This Python notes package is designed for beginners and students preparing for exams. It covers all the essential topics required to understand basic Python programming in a simple and clear way. Includes theory explanations for all basic concepts Important questions for exam preparation Program codes with logic and examples Easy-to-understand language Perfect for last-minute revision Topics covered include variables, data types, operators, conditional statements, loops, and basic programs.

Show more Read less
Institution
Course

Content preview

4/9/26, 4:55 PM chandana notes - Colab




keyboard_arrow_down INTRODUCTION

print("Hello World !")

Hello World !


print("My name is Chandana." , ("My age is 18."))

My name is Chandana. My age is 18.



keyboard_arrow_down DATA TYPES

# Interger (int) (1 , 4 , 2 , -2 , -5 , 0)
# Float (float) (1.0 , 4.0 ,3.5 , 10.56 , 6.78)
# String (str) ("Chandana" , "33" , "4.0")
# Boolean (bool) (True , False)
# None (no value store )


type(35)

int


type(35.0)

float


type("35.0")

str


type("35")

str


type("Chandana")

str



keyboard_arrow_down VARIABLES

# Variables
name = "Chandana"

https://colab.research.google.com/drive/1K3YrDvXE34-nLUm4aFULCV4sg-StVrtf#scrollTo=z4yaRWhm87L0&printMode=true 1/24

,4/9/26, 4:55 PM chandana notes - Colab

print(name)

Chandana


print("my name is :" , name)

my name is : Chandana


age = 18
print(age)
print("My age is :" , age)

18
My age is : 18


a = 25
b = 25
sum = a + b
print (sum)

50



keyboard_arrow_down INPUT

#Input in python
print("Hi!")
name = input()
print("My name is :" , name)
name1 = input ("Enter your name :")
print("What is your name ?")
print("nice to meet you" , name)
age = input("Enter your age :")
print("My age is :" , age)

Hi!
chandana
My name is : chandana
Enter your name :raj
What is your name ?
nice to meet you chandana
Enter your age :18
My age is : 18



keyboard_arrow_down TYPES OF OPERATORS

# Arithmetic Operators
# PEMDAS RULE
# P - Parentheses ()
# E - Exponent (**)
https://colab.research.google.com/drive/1K3YrDvXE34-nLUm4aFULCV4sg-StVrtf#scrollTo=z4yaRWhm87L0&printMode=true 2/24

, 4/9/26, 4:55 PM chandana notes - Colab

# M - Multiplication ( * )
# D - Division
# True divison ( / ) (gives float)
# Floor divsison ( // ) (gives integer)
# Module ( % ) (gives remainder)
# A - Addition (+)
# S - Subtraction (-)


print(22**5)
print(2**2)

5153632
4


print(33*2)
print(41*10)
print(9*7)

66
410
63


print(45/9)
print(10//5)
print(77//3)

5.0
2
25


print(45667+456)
print(10567+6738)

46123
17305


print(674839-2738)
print(34567800-1247988)

672101
33319812


#mix of all examples
print (3**4 + 74839 ) / ( 4 * 25 - 10 )




https://colab.research.google.com/drive/1K3YrDvXE34-nLUm4aFULCV4sg-StVrtf#scrollTo=z4yaRWhm87L0&printMode=true 3/24

Written for

Institution
Course

Document information

Uploaded on
April 10, 2026
Number of pages
24
Written in
2025/2026
Type
SUMMARY

Subjects

$6.39
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
chandanabaviskar7

Get to know the seller

Seller avatar
chandanabaviskar7 BHARATI VIDYAPEETH UNIVERSITY
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 month
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions