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

Python Programming Basics Guide

Uploaded by

simsondeepa
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)
14 views1 page

Python Programming Basics Guide

Uploaded by

simsondeepa
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

Section Duration Topics Notes & Examples

1. Introduction to Python 10 min What is Python, Features, print('Hello World')


IDEs, Installing Python
2. Python Syntax & 15 min Variables, Data Types, Type x = 10
Variables Conversion y = 5.5
name = 'Alice'
print(x, y, name)
3. Operators 10 min Arithmetic, Comparison, print(2+3, 2>3, True and False)
Logical, Assignment
4. Conditional 15 min if, elif, else temp = 25
Statements if temp > 30:
print('Hot')
...
5. Loops 20 min for, while, break, continue, for i in range(3): print(i)
pass while i<3: ...
6. Functions 15 min Defining, Parameters, Return, def add(a,b): return a+b
Scope
7. Data Structures 25 min Lists, Tuples, Sets, my_list=[1,2]
Dictionaries my_dict={'a':1}
8. String Manipulation 10 min Slicing, Methods, f-strings name='Alice'
print([Link]())
9. File Handling 10 min Open, Read, Write with open('[Link]','w') as f:
[Link]('Hello')
10. OOP Basics 20 min Class, Object, Method, class Person: ...
Constructor p = Person('John')

You might also like