(Oct-06-2022, 02:36 PM)pajd Wrote: It lists all the users
Well in that case, there's no reason for
if user == 'whatever':
not to work.users = ('bob','mike','admin','support') for user in users: if user == 'support': print(f"user {user} found.")
Output:user support found.
Sig:
>>> import this
The UNIX philosophy: "Do one thing, and do it well."
"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse
"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein
>>> import this
The UNIX philosophy: "Do one thing, and do it well."
"The danger of computers becoming like humans is not as great as the danger of humans becoming like computers." :~ Konrad Zuse
"Everything should be made as simple as possible, but not simpler." :~ Albert Einstein