I have this code here is the code and what should be the output
Can anyone help me how I can solve this code with a for loop?
Thank you in advance!
I have this code here is the code and what should be the output
Can anyone help me how I can solve this code with a for loop?
Thank you in advance!
You can do so by extracting the names
field for each user.
user_names = [dict["names"] for dict in users]