Completed 5-8 Hello Admin

This commit is contained in:
cheeks 2025-01-26 13:12:17 -05:00
parent fe2431c0c0
commit b1c049dfd9

View File

@ -0,0 +1,10 @@
# Exeercise 5-8 Hello Admin
# Learning Objective: Selective if statement writing. (Reinforcement)
users = ['tex', 'spert', 'klumps20', 'porridgeboi', 'admin']
for user in users:
if user == 'admin':
print(f'Hello {user.title()}, would you like to see a report?')
else:
print(f'Hello {user.title()}, thank you for logging in again.')