Diploma level curriculum as a guidance to educational institutes.
This project is maintained by SLASSCOM
Home > Introduction to Python > Functions & OOP
Module: Introduction to Python
Functions
Why functions, Arguments. Function as an object (attributes)
None
Nested functions
Defining a nested function and recursion
None
Lambda expression
https://www.guru99.com/python-lambda-function.html
Anonymus functions.
Building up a lambda expression using (map, filter, reduce ) to solve a problem.
Create few lists with some numerical data, use only lambda functions such as map, filter, reduce to find minimum, maximum, average and print all values above X.
OOP with Python
https://www.tutorialspoint.com/python/python_classes_objects.htm
Basic object oriented concepts.
How OOP works with Python.
Init method.
Create a class call shape as the super class which will have properties such as colours. Inherit from it to create circle and square. Have functions such as calculate area.