Skip to content

Commit d9c821f

Browse files
authored
Update addition_without_arithmetic.py
1 parent ec81b3f commit d9c821f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maths/addition_without_arithmetic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ def add(first: int, second: int) -> int:
3434

3535
doctest.testmod()
3636

37-
first = int(input("Enter the number for first: "))
38-
second = int(input("Enter the number for sec: "))
37+
first = int(input("Enter the first number: ").strip())
38+
second = int(input("Enter the second number: ").strip())
3939
print(f"{add(first, second) = }")

0 commit comments

Comments
 (0)