Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below, and by appending "!" to the end of the input string. i becomes 1

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter14: Files And Streams
Section: Chapter Questions
Problem 16RQ
icon
Related questions
Question
main.py
1 word = input ()
2 password =
3
4
** Type your code here.
Transcribed Image Text:main.py 1 word = input () 2 password = 3 4 ** Type your code here.
5.16 LAB: Password modifier
Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by
replacing characters using the key below, and by appending "!" to the end of the input string.
• i becomes 1
• a becomes @
• m becomes M
• B becomes 8
s becomes $
Ex: If the input is:
mypassword
the output is:
Myp@$ $word!
Hint: Python strings are immutable, but support string concatenation. Store and build the stronger password in the given password
variable.
Transcribed Image Text:5.16 LAB: Password modifier Many user-created passwords are simple and easy to guess. Write a program that takes a simple password and makes it stronger by replacing characters using the key below, and by appending "!" to the end of the input string. • i becomes 1 • a becomes @ • m becomes M • B becomes 8 s becomes $ Ex: If the input is: mypassword the output is: Myp@$ $word! Hint: Python strings are immutable, but support string concatenation. Store and build the stronger password in the given password variable.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
InputStream
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning