Question: 5 . 1 5 LAB: Password modifier Many user - created passwords are simple and easy to guess. Write a program that takes a simple
LAB: Password modifier
Many usercreated 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.
ibecomes
a becomes @
mbecomes M
B becomes
becomes $
Ex: If the input is:
mypassword
the output is:
Mype$$word!
Hint: Python strings are immutable, but support string concatenation. Store and build the stronger password in the given password variable.
LAB
ACTIVITY
: LAB: Password modifier
main.py
Load default template...
word input
password
word input
password
Type your code here.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
