[ create a new paste ] login | about

Link: http://codepad.org/VFNYWGK6    [ raw code | output | fork ]

Python, pasted on Jul 22:
1
2
3
4
5
banned_users =["marie", "jane", "chris"]
user = "lock"

if user not in banned_users:
 print(user.title() + ", you can post your message.")


Output:
1
Lock, you can post your message.


Create a new paste based on this one


Comments: