Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Write Python Program Using Lists Use Def Buildt Int Commands Q35621696

Write a python program using lists do not use def or otherbuildt int commands

Write a program that FIRST reads from a user a set of usernames and passwords, and THEN enters a program that SIMULATES a use

3. Then there will be a set of that many passwords, one per line. You only need to prompt one time at the beginning of the pr

Write a program that FIRST reads from a user a set of usernames and passwords, and THEN enters a program that SIMULATES a user typing in passwords: 1. In the FIRST PART of the program, you are to READ in a single integer that states the number of username/password pairs that you will read in. 2. FOLLOWING THIS, there will be a set of that many user names, one per line 3. Then there will be a set of that many passwords, one per line. You only need to prompt one time at the beginning of the program. For example, input might be: John Jim Joe SecreT passWorD 12345 Once that is read in, you should then repeatedly ask the person to type in a username and THEN password. If they have a valid username and password combination, then print a message that they are allowed into the system. If they have an incorrect username/password, then tell them (and allow them) to try again (repeatedly) Note: in practice, although this is the basic way passwords are handled, they should not be stored in unencrypted format even in the program. Instead, passwords are encrypted when they are typed in, they are stored in an encrypted format, and the comparisons are always between encrypted passwords. There are also more extreme security measures. Show transcribed image text Write a program that FIRST reads from a user a set of usernames and passwords, and THEN enters a program that SIMULATES a user typing in passwords: 1. In the FIRST PART of the program, you are to READ in a single integer that states the number of username/password pairs that you will read in. 2. FOLLOWING THIS, there will be a set of that many user names, one per line
3. Then there will be a set of that many passwords, one per line. You only need to prompt one time at the beginning of the program. For example, input might be: John Jim Joe SecreT passWorD 12345 Once that is read in, you should then repeatedly ask the person to type in a username and THEN password. If they have a valid username and password combination, then print a message that they are allowed into the system. If they have an incorrect username/password, then tell them (and allow them) to try again (repeatedly) Note: in practice, although this is the basic way passwords are handled, they should not be stored in unencrypted format even in the program. Instead, passwords are encrypted when they are typed in, they are stored in an encrypted format, and the comparisons are always between encrypted passwords. There are also more extreme security measures.

Leave a Reply

Your email address will not be published. Required fields are marked *