Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 723 Bytes

File metadata and controls

23 lines (18 loc) · 723 Bytes

Assignment-2---JSON-

Assignment 2 - Deadline (Saturday, August 17, 8:00 PM)

#QUESTION WAP that first gives 2 options:

  1. Sign up
  2. Sign in

when 1 is pressed user needs to provide following information

  1. Username, 2. Password, 3. Mobile number All this information is saved in a file everytime a new user signs up the same file is updated (hint Append over the same file)

when 2 is pressed User needs to provide username and password this username and password is checked with username and password in the database if matched: welcome to the device and show their phone number else: terminate the program saying incorrect credentials

Do it using json files, save everything to json and load from json