Question: please answer this question correctly Col. Mustard committed the murder in the lounge with the spanner. PROBLEM 3 Random number and random string generation (4

please answer this question correctly  please answer this question correctly Col. Mustard committed the murder in

Col. Mustard committed the murder in the lounge with the spanner. PROBLEM 3 Random number and random string generation (4 points) You are responsible for developing usernames and passwords for a university-wide log-in system. The username will be a string that includes the user's first and last initials followed by a randomly generated four-digit number (between 1000 and 9999 , inclusive). The password will be a randomly generated string of 6 hexadecimal characters module. INPUT: Ask user for first and last initials. PROCESSING: Import in two separate modules: one to generate random bits (random) and one to generate a random string text (secrets). (Use officia! Python documentation or the help () function to find which functions will be used to generate a random number and a random string.) Generate random bits and random string text. Concatenate lowercase initials and random bits to form username. OUTPUT: Print username and password. Here are some sample inputioutput examples. User input is underlined. You can assume that the user will correctly enter in lowercase initials. Example 1 Fixst initial: an Last injtial: 1 Your username is: s13300 Your password is: f95883 Example 2 First initial: Last initial: 1 Your username is: zu3237 Yotir password is: 9583 ab Example 3 First initial: a Last initial: Your username is: or 4094 Your password is: a9ef9c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!