Python Syllabus
Python Syllabus
Python Syllabus
5. Python Comments
Purpose/use of comments in Computer Programming, Comments for
Understanding Python code, Python Comment Syntax, Python Single line
comment, Multiline comment in Python, and writing Python comments.
6. Python Variables
8. Python Operators
(Python Number data types are for storing numeric values, Python supports
integers, floats, and complex numbers.)
((Python Data Structures, Create Python Lists, Update Python Lists, Delete
Elements from Python Lists, and Built-in Functions & Built-in Methods for
Python Lists.))
(Tuples are sequences, just like lists. The differences between tuples and
lists are, the tuples cannot be changed unlike lists and tuples use
parentheses, whereas lists use square brackets.)
(Array is a container that can hold a fixed number of items and these items
should be of the same type. Python does not have built-in support for
Arrays, but Python Lists can be used instead.)
(Python has several functions that are readily available for use. These
functions are called built-in functions.)
Python user input from the keyboard can be read using the input() built-in
function. The input from the user is read as a string and can be assigned to
a variable.
23. Python File Handling
Python too supports file handling and allows users to handle files i.e., to
read and write files, along with many other file handling options, to operate
on files.
Python provides us with a way to handle the Exception so that the other
part of the code can be executed without any disruption. However, if we do
not handle the exception, the interpreter doesn’t execute all the code that
exists after that.
(Inheritance enables us to define a class that takes all the functionality from
a parent class and allows us to add more. Inheritance is a powerful feature
in object-oriented programming, Types Inheritance in Python, Single
Inheritance, Multi-Level Inheritance, Multiple Inheritance, Hierarchical
Inheritance, and Hybrid Inheritance.)