Curso_Intensivo_de_PYTHON/chapter_05/banned_users.py

6 lines
159 B
Python
Raw Permalink Normal View History

2023-06-02 17:22:53 +02:00
banned_users = ['andrew', 'carolina', 'david']
user = 'marie'
if user not in banned_users:
print(f"{user.title()}, you can post a response if you wish.")