Topic 1: User Management system V2:
User functions are as follows:
Welcome to XXXX System
-1. Registration: If the user exists, the direct error "name already exists", if the user does not exist, save the user information, display "registration success";
-2. Login: If the user exists, determine whether the password is correct, if the user does not exist, the error "name does not exist";
-3. Logout: If the user exists, delete the user information, if not present, error error "name does not exist;
-4. Exit: Break
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/05/77/wKiom1mlbifC_lzRAAErYSCvjLg647.png "style=" float : none; "title=" screenshot from 2017-08-29 21-37-04.png "alt=" Wkiom1mlbifc_lzraaeryscvjlg647.png "/>
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/05/77/wKiom1mlbifAa05MAACUCmqeC88741.png "style=" float : none; "title=" screenshot from 2017-08-29 21-37-14.png "alt=" Wkiom1mlbifaa05maacucmqec88741.png "/>
Topic 2: User Management system V3:
Initialize has a system administrator:
The user is divided into two types:
User login:
-Login
-Exit
To determine the user type:
System administrator Features:
-1. Add User
-4. View all user Information
-5. Exit:
General User features:
-1. View personal Information
-2. Logout
-2. Exit
Requirements:
1. According to the user's identity, access to different management interface;
2. The system initializes a system administrator account;
3. Only the system administrator can add users and view all user information;
4. Ordinary users can only view personal information, and write-off account;
Welcome to XXX System
-1. Registration:
-2. Login:
-3. Logout:
-4. View all user Information
-5. Exit:
python-Exercise 4