kyu_8.grasshopper_summation package

Submodules

kyu_8.grasshopper_summation.summation module

kyu_8.grasshopper_summation.summation.summation(num: int) → int[source]

A program that finds the summation of every number from 1 to num. The number will always be a positive integer greater than 0. :param num: :return:

kyu_8.grasshopper_summation.test_summation module

class kyu_8.grasshopper_summation.test_summation.SummationTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Testing summation function

test_summation()[source]

Testing summation function with various test inputs :return:

Module contents