Add feedback message to nonexistent student id
This commit is contained in:
parent
702940ecb2
commit
0abdb92eaf
2
IA.py
2
IA.py
@ -116,6 +116,8 @@ def main():
|
|||||||
print("Student does not have clearance.")
|
print("Student does not have clearance.")
|
||||||
elif final == None:
|
elif final == None:
|
||||||
print("Clear to leave.")
|
print("Clear to leave.")
|
||||||
|
else:
|
||||||
|
print("Student does not exist in the database. Please try again.")
|
||||||
|
|
||||||
y = input("Press y and enter to run again.")
|
y = input("Press y and enter to run again.")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user