# Start with users that need to be verified, and an empty list to hold confirmed users

unconfirmed_users = ['parsa', 'alice', 'steve']
confirmed_users = []

# Verify each user until there are no more unconfirmed users.
# Move each verified user into the list of confirmed users.

while unconfirmed_users:
    current_user = unconfirmed_users.pop()

    print(f"\nVerifying user: {current_user.title()}")
    confirmed_users.append(current_user)

# Display all verified users
print("\nThe following users have been verified:")

for user in confirmed_users:
    print(f"\n{user.title()}")