Friday 30 August 2013

# this code will be squared number

def squared_num(z):
    print z**2

squared_num(6)

#this fnctxn defining modulus
def draperc (b,d):
    print b&d
draperc(31,5)

#generate run fnctxn it should 3arg
def math(E2,E3,E4):
    print E2-E3-E4
math (100,90,80)

#4 creata function call transport

def transport(taxi,bike,canon):
    print taxi+bike+canon
transport (12,11,3)

#5
def moving_on(x,y):
    x=7
    y=8
    return x+y
print moving_on(7,8)


#
def moving_on(x,y):
    return x+y
moving_here=moving_on(7,8)
print moving_here
   



  


         
    
  

No comments:

Post a Comment