From 0dde0c524dbfbc000d5650c3575d21f4455aadcc Mon Sep 17 00:00:00 2001 From: lolabird Date: Wed, 13 Dec 2023 09:46:56 -0700 Subject: [PATCH] Add more text and fix typo --- thinkcspy/Chapter-13-Exercises/readposint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thinkcspy/Chapter-13-Exercises/readposint.py b/thinkcspy/Chapter-13-Exercises/readposint.py index 51dbb5d..5a8eb6b 100644 --- a/thinkcspy/Chapter-13-Exercises/readposint.py +++ b/thinkcspy/Chapter-13-Exercises/readposint.py @@ -2,9 +2,9 @@ def readposint(num): try: val = int(num) if val > 0: - print("You entered '{}'.".format(val)) + print("You entered '{}'. That's a positive number!".format(val)) else: - print("'{}' is not a positive.".format(val)) + print("'{}' is not a positive number.".format(val)) except Exception: print("'{}' is not a number.".format(num))