repl.it
@heyitsmarcus/

Module Example 3-1

Python 2.7

No description

fork
loading
Files
  • main.py
  • input_module.py
  • input_module.pyc
  • product_module.py
  • product_module.pyc
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#Developed on 28 June 2019

#importing the modules
import input_module
import product_module

#Main Program
#Setting all variables to zero
#total=0
num1=0
num2=0


#Calling the modules
num1, num2 = input_module.InputNums()
product_module.CalculateProduct(num1, num2)
?