<filename>GodwillOnyewuchi/Phase 1/Python Basic 2/day 13 task/task 3.py<gh_stars>1-10
# Python program to input a number, if it is not a number generate an error message

try:
    Input = int(input("Please enter an integer: "))
    print(f'Input = {Input}')
except ValueError:
    print("Input is not a number")

<filename>GodwillOnyewuchi/Phase 1/Python Basic 2/day 13 task/task 3.py<gh_stars>1-10
# Python program to input a number, if it is not a number generate an error message

try:
    Input = int(input("Please enter an integer: "))
    print(f'Input = {Input}')
except ValueError:
    print("Input is not a number")

# Python program to input a number, if it is not a number generate an error message