From ecf0ebe34c1b86bed648ad194542de7dd2ada3e7 Mon Sep 17 00:00:00 2001 From: BuravovA Date: Fri, 7 Nov 2025 19:22:05 +0400 Subject: [PATCH] smth --- calc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/calc.py b/calc.py index 8ab52fb..bf1a075 100644 --- a/calc.py +++ b/calc.py @@ -24,7 +24,7 @@ def summ(total=None): print("Enter a valid number") return while True: - num_input = input("Enter numbers to summ\n") + num_input = input("Enter numbers to summ or change command [ + ] [ - ] [ * ] [ / ]\n") if num_input == " " or num_input == "": print(total) main() @@ -52,7 +52,7 @@ def minus(total=None): print("Enter a valid number") return while True: - num_input = input("Enter numbers to minus\n") + num_input = input("Enter numbers to minus or change command [ + ] [ - ] [ * ] [ / ]\n") if num_input == " " or num_input == "": print(total) main() @@ -81,7 +81,7 @@ def multiplication(total=None): print("Enter a valid number") return while True: - num_input = input("Enter numbers to multiplicate\n") + num_input = input("Enter numbers to multiplicate or change command [ + ] [ - ] [ * ] [ / ]\n") if num_input == " " or num_input == "": print(total) main() @@ -109,7 +109,7 @@ def division(total=None): print("Enter a valid number") return while True: - num_input = input("Enter numbers to division\n") + num_input = input("Enter numbers to division or change command [ + ] [ - ] [ * ] [ / ]\n") if num_input == " " or num_input == "": print(total) main()