dot/multiply.py

9 lines
200 B
Python
Raw Normal View History

2024-10-14 11:40:03 +00:00
import os
try:
num1 = int(os.environ.get("INPUT_FIRSTARG"))
num2 = int(os.environ.get("INPUT_SECONDARG"))
except Exception:
exit(f"integer error for {num1} or {num2}")
print(num1 * num2)