0

I'm a high school student and out of curiosity, I thought about implementing List Dictionaries in my current project. I researched about Dictionary appending and more but the Dictionary data will be lost if I run the terminal again. With this, I do believe that Text file manipulation is the key to my problem. With further research, I ran into a wall and my lack of skills and knowledge made my morale low.enter image description here

Please help me to overhaul or modify my code. Thank You.

"""
This is a log-in system using dictionaries in a file name.
Please help me thank you <3.
P.S You can overhaul my code or modify it:
"""

with open(Accounts, 'r') as Account_names:

Start = int(input('Log-in[Press 1] or Sign-up [Press 2]:'))
if Start == 2:
    LinName = input('Username:')
    Password_2 = input('Password:')
    V = [LinName] = Password_2
    open(Accounts, 'a')
R.E.F.
  • 31
  • 5

0 Answers0