diff --git a/functions.py b/functions.py index 8335f48..5c39a1f 100644 --- a/functions.py +++ b/functions.py @@ -14,3 +14,10 @@ def square_area(side_length=4): def rectangle_perimeter(width, height): perimeter = width * 2 + height * 2 return perimeter + +def maximum(num1,num2): + if num1 > num2: + return num1 + else: + return num2 + diff --git a/loops.py b/loops.py index 8441ac9..e0ef3ca 100644 --- a/loops.py +++ b/loops.py @@ -14,3 +14,5 @@ while count < 5: print(count) count += 1 + +print("End")