Skip to content

Commit ec29f98

Browse files
authored
Update solution.hide.py
1 parent 652b923 commit ec29f98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exercises/044-static_methods/solution.hide.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class MathOperations:
66
def add_numbers(num1, num2):
77
return num1 + num2
88

9+
# You can call the static method without creating an instance
910
sum_of_numbers = MathOperations.add_numbers(10, 15)
1011

1112
print(f"Sum of Numbers: {sum_of_numbers}")

0 commit comments

Comments
 (0)