Question: a) Write a function in python that generates a random 10 character password. The characters should be randomly selected from the following characters: uppercase letters
a) Write a function in python that generates a random 10 character password. The characters should be randomly selected from the following characters:
uppercase letters A-Z
lowercase letters a-z
numbers 0-9
special characters !@#$%^&*
Hint: use the random library to generate random numbers. b)
Write a program that uses the function you created in part a) to save 100 passwords to the file "passwords.txt"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
