week-4 #5

Merged
Kenwood merged 12 commits from week-4 into master 2021-02-03 16:53:55 -05:00
1 changed files with 15 additions and 0 deletions
Showing only changes of commit 9863e910f6 - Show all commits

15
4/4.15 LAB/main.py Normal file
View File

@ -0,0 +1,15 @@
password = input()
replacements = {
'i' : '!',
'a' : '@',
'm' : 'M',
'B' : '8',
'o' : '.'
}
for replace, replacement in replacements.items():
password = password.replace(replace, replacement)
password += 'q*s'
print(password)