Question: Assignment 5.[10 Points) Write a Python function, which takes no arguments on input, that is capable of generating and printing to screen a random password

 Assignment 5.[10 Points) Write a Python function, which takes no arguments

Assignment 5.[10 Points) Write a Python function, which takes no arguments on input, that is capable of generating and printing to screen a random password that is 8 characters long. Specifically, each password consists of 6 letters and 2 digits, not necessarily in that order. For the sake of simplicity, the characters in the password can only be 'a,b,c,d,e,fg, hij' and digits 1,2,3,4,5. In addition, one of the letters must appear as a capital letter and it must appear at random spots when a new password is generated, i.e. it cannot have a fixed spot. All other letters must remain lower case and each letter, UIC, Department of Mathematics, Statistics and Computer Science page 1 MCS 260 Project 1 due Wednesday, February 19, 2020 at 11:59 PM Spring 2020 capitalized or not, can only occur once. For example, 'E' and 'e' cannot both occur in the password. The digits must also occur only once. Some examples of passwords are: jFAbga5d or 3agbh2Ec

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!