how do you update passwords for list of usernames in a text file in python?
a. Use a for loop to iterate through the usernames and update the passwords. b. Use a while loop to update the passwords until all usernames have been processed. c. Use a dictionary to store the usernames and passwords and update the passwords based on the usernames. d. Use a list comprehension to update the passwords in a single line of code.