I’m trying to write the username of each compromised_user in compromsied_users to compromised_user_file but it says:
Traceback (most recent call last):
File “script.py”, line 11, in
TypeError: write() argument must be str, not list
Can somebody help on what I need to do to fix this.