python _ [{}] _ manner as a temporary storage database

print ( '*' * 15+ 'registered system users' +' * '* 15)
User} = {
List1 = []
the while True:
    username = INPUT (' Enter Username: ')
    the passwd = INPUT (' Enter password: ')
    again_passwd the iNPUT = (' Please enter your password: ')
    ! = IF passwd again_passwd:
        Print (' enter the password twice inconsistent, please try again ').
        the Continue
    Email the iNPUT = (' Please enter the email: ')
    Telephone = input ( 'enter telephone:')
    # store the contents of each entry to the dictionary.
    User [ 'username'] = username
    User [ 'the passwd'] = the passwd
    User [ 'In Email'] = In Email
    User [ 'Telephone'] = Telephone
    list1.append (User)
    answer = INPUT ( 'whether to continue the input: (y / n-) ')
    ! IF answer =' Y ':

Guess you like

Origin www.cnblogs.com/zl001/p/12058623.html