Passed
Push — master ( 50dda9...e8c73d )
by Ken M.
01:35
created

multiply_intro   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A mult_two() 0 2 1
1
def mult_two(a, b):
2
    return a * b
3
4
5
if __name__ == "__main__":
6
    print("Example:")
7
    print(mult_two(3, 2))
8
9
    # These "asserts" are used for self-checking and not for an auto-testing
10
    assert mult_two(3, 2) == 6
11
    assert mult_two(1, 0) == 0
12
    print("Coding complete? Click 'Check' to earn cool rewards!")
13