python/banned_users.py

6 lines
159 B
Python

banned_users = ['carolina', 'andrew', 'david']
user = 'marie'
if user not in banned_users:
print(f"{user.title()}, you can post a response if you wish.")