## user defined function

def simple():
    print("its a function")

simple()


def gbp_to_inr (gbp):
    inr= gbp*98
    return inr
   
inr = gbp_to_inr(1)
print(inr)
inr = gbp_to_inr(1.2)
print(inr)
inr = gbp_to_inr(2)
print(inr)

#read muntiple files using function

def printname(name):
    print (name)
printname("aravind")
printname("manu")
# cant print/read without * in function printname("aravind", "dude")


def printname(*name):
    print(name)
    print(name[1])
printname("aravind", "dude", "manu")

def printname(name,surname):
    print(name, surname)
    print(surname)
    print(name)
printname("bommalata",27)






f01be529105c7c53da41a3db309a4e9621dd0499
def simple():
    print('its a function')


<mask token>


def printname(name):
    print(name)


<mask token>


def printname(*name):
    print(name)
    print(name[1])


<mask token>


def printname(name, surname):
    print(name, surname)
    print(surname)
    print(name)


<mask token>

def simple():
    print('its a function')


<mask token>


def gbp_to_inr(gbp):
    inr = gbp * 98
    return inr


<mask token>


def printname(name):
    print(name)


<mask token>


def printname(*name):
    print(name)
    print(name[1])


<mask token>


def printname(name, surname):
    print(name, surname)
    print(surname)
    print(name)


<mask token>

def simple():
    print('its a function')


simple()


def gbp_to_inr(gbp):
    inr = gbp * 98
    return inr


<mask token>
print(inr)
<mask token>
print(inr)
<mask token>
print(inr)


def printname(name):
    print(name)


printname('aravind')
printname('manu')


def printname(*name):
    print(name)
    print(name[1])


printname('aravind', 'dude', 'manu')


def printname(name, surname):
    print(name, surname)
    print(surname)
    print(name)


printname('bommalata', 27)

def simple():
    print('its a function')


simple()


def gbp_to_inr(gbp):
    inr = gbp * 98
    return inr


inr = gbp_to_inr(1)
print(inr)
inr = gbp_to_inr(1.2)
print(inr)
inr = gbp_to_inr(2)
print(inr)


def printname(name):
    print(name)


printname('aravind')
printname('manu')


def printname(*name):
    print(name)
    print(name[1])


printname('aravind', 'dude', 'manu')


def printname(name, surname):
    print(name, surname)
    print(surname)
    print(name)


printname('bommalata', 27)

## user defined function

def simple():
    print("its a function")

simple()


def gbp_to_inr (gbp):
    inr= gbp*98
    return inr
   
inr = gbp_to_inr(1)
print(inr)
inr = gbp_to_inr(1.2)
print(inr)
inr = gbp_to_inr(2)
print(inr)

#read muntiple files using function

def printname(name):
    print (name)
printname("aravind")
printname("manu")
# cant print/read without * in function printname("aravind", "dude")


def printname(*name):
    print(name)
    print(name[1])
printname("aravind", "dude", "manu")

def printname(name,surname):
    print(name, surname)
    print(surname)
    print(name)
printname("bommalata",27)





