Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
def project_size(num_variants, num_operations):
  size = num_variants*num_operations
  return size


num_variants = int(input("Number of variants: "))
num_operations = int(input("Number of operations: "))

print("The project size is estimated to: %d" % project_size(num_variants, num_operations))
Python 3.6.1 (default, Dec 2015, 13:05:11) [GCC 4.8.2] on linux