Python coding: Write code for each method listed.
Input Text File Format:
username|Firstname|Lastname|password|accountnumber|balancejh123|Jane|Hudson|45678910|AB45|900
ah444|Allie|Hun|ah1234|HHYZ|1500
def build_dict():
'''
Returns a dictionary created from input file
where key is an existing username and
value is a list of fistname, lastname, account number andbalance.
'''
 ÂÂ
def write_to_file(users):
'''
Writes the updated user information to user list file
'''