[3 / 1 / ?]
Quoted By: >>637645
Please help /wsr/. I make my code in python using vim and execute it using terminal. Recently , I made this ''allowed_user = ['bill','steve']
username = raw_input('What is your login?:')
if username in (allowed_users):
print'Acces granted'
else:
print'Acces denied' ''
Now , the problem is , I don't know how to control the input , or if it's right for me to even execute code in the terminal , because whenever I write 'Bill' and press enter I get an error. Please help a brainlet out
username = raw_input('What is your login?:')
if username in (allowed_users):
print'Acces granted'
else:
print'Acces denied' ''
Now , the problem is , I don't know how to control the input , or if it's right for me to even execute code in the terminal , because whenever I write 'Bill' and press enter I get an error. Please help a brainlet out