2.14 LAB: Warm up: Creating passwords (1) Prompt the user to enter two words and a number, storing each into separate va
Posted: Sun Jul 10, 2022 11:23 am
(2) Output two passwords using a combination of the user input. Format the passwords as shown below. (Submit for 2 points, so 3 points total). Ex: If the input is yellow Daisy 6 the output after the prompts is: You entered: yellow Daisy 6 First password: yellow Daisy Second password: 6yellow6 (3) Output the length of each password (the number of characters in the strings). (Submit for 2 points, so 5 points total). Ex: If the input is yellow Daisy 6 the output after the prompts is: You entered: yellow Daisy 6 First password: yellow Daday
You entered: yellow Daisy 6 First password: yellow Daisy Second password: 6yellow6 Number of characters in yellow Daisy: 12 Number of characters in 6yellow6: 8 LAB ACTIVITY 2.14.1: LAB: Warm up: Creating passwords main.py 1 # FIXME (1): Finish reading another word and an integer into variables. 2# Output all the values on a single line 3 favorite color input('Enter favorite color: \n") 4 5 6 # FIXME (2): Output two password options 7 password1 favorite color 8 print('\nFirst password: ') 9 10 11 # FIXME (3): Output the length of the two password options. 12 0/5 Load default template.... Run your program as often as you'd like, before submitting for grading. Below, type any needed i