How would you improve this code? ```python def update_r_users(service) ...

Home / 2024 / 11 / 03

How would you improve this code?

python 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.