<filename>GodwillOnyewuchi/Phase 1/Python Basic 2/day 14 task/task 1.py
# Write a Python program to determine whether variable is defined or not.


try:
    print(a)
    print("variable is defined")
except NameError:
    print("Variable not defined")
<filename>GodwillOnyewuchi/Phase 1/Python Basic 2/day 14 task/task 1.py
# Write a Python program to determine whether variable is defined or not.


try:
    print(a)
    print("variable is defined")
except NameError:
    print("Variable not defined")
# Write a Python program to determine whether variable is defined or not.