Python Modulthone 3
Python Modulthone 3
On
Python Module 3
Key Takeaway
NAME OR LOGO 2
A module is a file consisting of Python code
that can define functions, classes and variables
related to a particular task. A module allows us
to organize our code by grouping related code,
which makes the code easier to understand and
use.
NAME OR LOGO 3
Python modules have the
following advantages:
NAME OR LOGO 4
Functions in Python
A function in python is a group of statements
within a program that performs a specific task.
Usually functions input data, process it, and
<return= a result. Once a function is written, it
can be used repeatedly.
Parts of Function
• Function Header
• Parameters
• Functions Body
• Indentation
NAME OR LOGO 5
Advantages of Python
“ ” “ ”
Python has an active, Python is widely used with IoT
supportive community. Technology.
“ ”
Python is easy to learn. automation.
Python is flexible.
.
NAME OR LOGO 6
Data Analytics Finance
NAME OR LOGO 7
Thank
You
Akhjar Taqi Awsaf
Roll: 504 , 5G