Here is the solution for #3, although now #5 is not working!
if (choice == '3'): print( "What website is this password for?" ) website = input( ) print( "What is the password?" ) unencryptedPassword = input( ) def encrypted_password(): encrypted_password = passwordEncrypt( unencryptedPassword, encryptionKey ) samplePasswordFile = [[website, encrypted_password]] passwords.append( [website, encrypted_password] ) if (choice == '5'): # print out the password list for keyvalue in passwords: print( ', '.join( keyvalue ) )