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
Document preview thumbnail
Preview 2 out of 7 pages
Lecture notes

Python Basics Handwritten Notes- Syntax, Comments, Variables, Input & Type Casting

Document preview thumbnail
Preview 2 out of 7 pages

Clear and neat handwritten Python notes for beginners. Covers essential topics including Python basics, syntax, comments, variables, input, and type casting. Perfect for BCA students, computer science beginners, or anyone starting Python programming. These notes are concise, well-structured, and easy to understand, making them ideal for self-study, class reference, or exam preparation. A beginner-friendly guide to help you learn Python quickly and effectively. These notes are organized in a way that makes learning Python simple and enjoyable.

Content preview

~. W~at s Python
1
?
=3:? p~thon is ·a hlgh- le.vel , inte.rprete
d programmin~
\an~ua9e •

-==-) Created by &u',do Van Ross urri .

~ Fir.st re leaseq in 199 f .

~> Sir11p le s1ni ax ~

~ Use.d in - Web dev , App elev ,
Al ( Machine learning ,
·oata Science Autorrration . J




SYNTAX •

pr int ( Hello Wor Id
11
11
)




pr\nt () funcJion use.d fo displ·~'i
I
-the output .on the se re en ,
, .. .

tOMMENTS :

Comrr1ents are not inside code
. The.'J ar e
l:Jnored b'j P.'Jthon .

· # This is a c.omt1te.nt .

, VARI AB L £5 :

A , var'. abl e ~1ore
u s ~ data .
1(




~xarnple :
II II
f\l,aMe = Jiya

a~e :: 19

~
I , aj e - va Iue .
Here , n arne _ var1 ~be



'DATA TYPES (bets, c) :

Type
Exarop Je

Str, n3 t, He...! lo 11




lnte3e.r 10
.'
Float ·3 .14

Boo \e qn True_


NOTE~
i>rin t (" 5 '')

print (r;)

tofh looks
sarri e_ but iri J-et'nc'I II'f ti, eyIl"e
differenr ·
print ( '' s- '' -t- "s ") # i;-s-


prin t (5 +5) #- 10

Document information

Study
Unknown
Uploaded on
March 10, 2026
Number of pages
7
Written in
2025/2026
Type
Lecture notes
Professor(s)
N/a
Contains
Python basics - type casting
£3.46

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

Sold
0
Followers
0
Items
1
Last sold
-



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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