Add more text and fix typo

This commit is contained in:
lolabird 2023-12-13 09:46:56 -07:00
commit 0dde0c524d

View file

@ -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))