Python Syllabus
Python Syllabus
UNIT 1: INTRODUCTION
Python is a high-level programming language. It is easy to read and write. Other high-level
languages include C++, Java, and PHP.
Advantages:
- Easy to learn
- Portable
- Short code
- More readable
- Easy to learn
- Portable
- Interactive
- GUI support
- Database support
- Interactive Mode
- Script Mode
Example:
x = 10
name = "Python"
Data Types:
1.7 Operators
+, -, *, /, **
1.9 Loops
break, continue
2.1 Functions
def add(a,b):
return a+b
- Positional
- Keyword
- Default
2.3 Modules
math, datetime
2.4 Packages
Collection of modules
try:
x = int(input())
except:
print("Error")
3.2 Collections
Using Tkinter
4.3 Widgets
4.4 Database
CONCLUSION