How would you improve this code?
def update_r_users(service) r_users = [] for user in service.get_all_users(): if "r" in user: r_users.append(user) service.set_users_in_group("users_with_r_in_name", r_users)
Find out what I did it in my latest newsletter.
What is Rickard working on and thinking about right now?
Every month I write a newsletter about just that. You will get updates about my current projects and thoughts about programming, and also get a chance to hit reply and interact with me. Subscribe to it below.