Exemplo n.º 1
0
##from math import sqrt, exp
##
##print sqrt(16)
##print exp(2)

# import our module
import smallMathsModule

# multiplyBy5 function
print smallMathsModule.multiplyBy5(3)

# add5 function
print smallMathsModule.add5(9)

# randomAdd function
print smallMathsModule.randomAdd(8)
# Import our module
import smallMathsModule

#multiplyBy5 function
print smallMathsModule.multiplyBy5(3)

# add5 function
print smallMathsModule.add5(9)

# randomAdd function
print smallMathsModule.randomAdd(8)
Exemplo n.º 3
0
# Import our module
import smallMathsModule

# MultiplyBy5 function
print(smallMathsModule.multiplyBy5(3))

# add5 function
print(smallMathsModule.add5(9))

# randomAdd function
print(smallMathsModule.randomAdd(8))