Test Failed
Push — master ( 206750...bcacd1 )
by Daniel
02:10
created

BasicNeeds.fn_optional_print()   A

Complexity

Conditions 2

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 2
nop 2
1
2
3
class BasicNeeds:
4
5
    def fn_optional_print(boolean_variable, string_to_print):
6
        if boolean_variable:
7
            print(string_to_print)
8