示例#1
0
from module import sum1,prod1

zeroes = [0 for i in range(5)]
ones = [1 for i in range (5)]
print(sum1(zeroes))
print(prod1(ones))  
示例#2
0
from sys import path
path.append('../modules')

import module

zeroes = [0 for i in range(5)]
ones = [1 for i in range(5)]
print(module.sum1(zeroes))
print(module.prod1(ones))