3.13 LAB: Warm up: Creating passwords Instructor note You may fins that the auto gradar is very spacific about the formating for this lah, aspocialy for the firal two Ines. I approached this by stopping Pythoris defeut of putting a soace between eech porton of the output by adding e sep-" (thet is two single cuotes right beside each other) at the end of my print stetement, anc acding exra speces where needed in the other parts of the print statement. Here iser exampie printi "\akanber af charactera in ', paaawordi, '', lan(paaawordi), aaps') There is an extra space after the wort in, and another one after the cakan to spread aut the statement praperly (1) Promot the user to enter twa worcis und a number, storing each int: separee varicbies. Then, ouipu: those three velues on a single Ire epaeted by a space. Ex If she inout is yellun Datsy the output alter the prompis is: You enseredi yeliov Jaiey 6 Nose User input is not part of the program ouipu. P) Dutpu two panswarcds using a combination of the uner ingut. Format the pasnwands as sivawn beio total). Ex if the irout is yallow Daisy the output alter the prampis You ensered: vellov Jaiay 6 Pir panvordı yeilon_baiwy teoand panwo di fye low (3) Outpul the length of each sussword (the number of cheracters in the strings, Ex. If she irout is yell the output alter the prompis is: You enzered: yeliow Jaisy 6 Piret pasavordi veilow_Daloy Socond pasowordi GycilowG Number of charactern in yellow_hainy 12 Nunier of ch er i kyelli EM 3.13.1: LAB Wwam up: Oeating pesewords man py Load defat lemplate 1 fovorite.color - input("Enter favorite color:\n") 2 fovorite flomer - irput("Lnter favorite flover: Vn) nunber - input("Enter a nunber: n') 5 print('You entered:', favorite.color, nurber) 7 pessordi - faverite.color A possord? - ber + faverite.color nurber 10 print("first passord:"+ pasord) 11 print("Second possNord: 12 print("Nurer of characters in 13 printNar of characiers in * pasond) passnordi + ":- strclen(passwardi)) passord steclen(passaord2)
3.13 LAB: Warm up: Creating passwords Instructor note You may fins that the auto gradar is very spacific about the formating for this lah, aspocialy for the firal two Ines. I approached this by stopping Pythoris defeut of putting a soace between eech porton of the output by adding e sep-" (thet is two single cuotes right beside each other) at the end of my print stetement, anc acding exra speces where needed in the other parts of the print statement. Here iser exampie printi "\akanber af charactera in ', paaawordi, '', lan(paaawordi), aaps') There is an extra space after the wort in, and another one after the cakan to spread aut the statement praperly (1) Promot the user to enter twa worcis und a number, storing each int: separee varicbies. Then, ouipu: those three velues on a single Ire epaeted by a space. Ex If she inout is yellun Datsy the output alter the prompis is: You enseredi yeliov Jaiey 6 Nose User input is not part of the program ouipu. P) Dutpu two panswarcds using a combination of the uner ingut. Format the pasnwands as sivawn beio total). Ex if the irout is yallow Daisy the output alter the prampis You ensered: vellov Jaiay 6 Pir panvordı yeilon_baiwy teoand panwo di fye low (3) Outpul the length of each sussword (the number of cheracters in the strings, Ex. If she irout is yell the output alter the prompis is: You enzered: yeliow Jaisy 6 Piret pasavordi veilow_Daloy Socond pasowordi GycilowG Number of charactern in yellow_hainy 12 Nunier of ch er i kyelli EM 3.13.1: LAB Wwam up: Oeating pesewords man py Load defat lemplate 1 fovorite.color - input("Enter favorite color:\n") 2 fovorite flomer - irput("Lnter favorite flover: Vn) nunber - input("Enter a nunber: n') 5 print('You entered:', favorite.color, nurber) 7 pessordi - faverite.color A possord? - ber + faverite.color nurber 10 print("first passord:"+ pasord) 11 print("Second possNord: 12 print("Nurer of characters in 13 printNar of characiers in * pasond) passnordi + ":- strclen(passwardi)) passord steclen(passaord2)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY