Buckets:

download
raw
549 Bytes
"""Example program demonstrating usage of the simple_math module."""
from simple_math import add
def main():
"""Run example demonstrations of the add function."""
test_cases = [(2, 3), (2.5, 3.5), (2, 3.5), (2.5, 3), (0, 0), (-5, 10), (3.14, -2.71)]
print("Testing add() function:")
print("-" * 40)
for a, b in test_cases:
result = add(a, b)
print(f"add({a!r}, {b!r}) = {result!r} (type: {type(result).__name__})")
print("-" * 40)
print("All tests completed!")
if __name__ == "__main__":
main()

Xet Storage Details

Size:
549 Bytes
·
Xet hash:
0cc3407679ed309145d858b75e6943b0e537d08f30084d22ffb4ea427ba9dcc9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.