Hacking The Fender - almost there

hello all! I am in Fender problem and while I think I did generally good, now I am not so confident :stuck_out_tongue: The main issue is that new list doesn’t copy the usernames, that said, i might also miss how it should look at the end!

#Q1 import csv #Q2 compromised_users = [] #Q3 with open('passwords.csv') as password_file: #Q4 password_csv = csv.DictReader(password_file) #Q5 for password_row in password_csv: #Q6 #print(password_row['Username']) #Q7 compromised_users.append('Username') #Q8 with open('compromised_users.txt','w') as compromised_user_file: #Q9 compromised_user_file.write(str(compromised_users)) #Q10 for compromised_user in compromised_users: compromised_user_file.write(compromised_user) print(compromised_users) #Q11-12 import json #Q12-13-14 with open('boss_message.json','w') as boss_message: boss_message_dict = { "recipient":"The Boss", "message":"Mission Success" } #Q15 json.dump(boss_message_dict, boss_message) #Q16 with open('new_passwords.csv','w') as new_passwords_obj: #Q17-18-19 slash_null_sig = ''' _ _ ___ __ ____ / )( \ / __) / \(_ _) ) \/ ( ( (_ \( O ) )( \____/ \___/ \__/ (__) _ _ __ ___ __ _ ____ ____ / )( \ / _\ / __)( / )( __)( \ ) __ (/ \( (__ ) ( ) _) ) D ( \_)(_/\_/\_/ \___)(__\_)(____)(____/ ____ __ __ ____ _ _ ___ / ___)( ) / _\ / ___)/ )( \ (___) \___ \/ (_/\/ \\___ \) __ ( (____/\____/\_/\_/(____/\_)(_/ __ _ _ _ __ __ ( ( \/ )( \( ) ( ) / /) \/ (/ (_/\/ (_/\ \_)__)\____/\____/\____/ '''

The codebyte won’t work for this b/c it cannot import python libraries (it doesn’t have that functionality). So, posting your formatted code would have worked better in this instance.

I think you’re missing this bit at the end after you open the “new_passwords” object:

Summary
new_passwords_obj.write(slash_null_sig)

now it looks like this…
[Username, Username, Username] repeatedly