# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# #### Module - A module is nothing but a python file(.py), inside which we have numerous  functions pre-defined which we can use from the module as per our needs.

# We can create Modules in two ways:
# ##### 1. If we are working in jupyter notebook then
# #####        i) write your code in the notebook 
# #####       ii) Go to files and download the notebook as (.py) file
# #####      iii) re-upload the (.py) file in the same directory where we have the (.ipynb) where we want to import our module.

# #### IF we are working on any other IDE
# 1) just create an (.py) file and store it in the same directory as of the file where we import our module and then just use import keyword and that will serve the purpose.

# __Lets create an custom module for an example->__

# +
def add(a,b):
    c=a+b
    return a
def sub(a,b):
    if(a>=b):
        c=a-b
    else:
        c=b-a

    
# -








StarcoderdataJupyterScriptsDedupFiltered