Professional Documents
Culture Documents
4.15 LAB Password Modifier
4.15 LAB Password Modifier
i becomes !
a becomes @
m becomes M
B becomes 8
o becomes .
word = input()
password = ''
for x in word:
if(x=='i'):
password+="!"
elif(x=='a'):
password += "@"
elif (x == 'm'):
password += "M"
elif (x == 'B'):
password += "8"
elif (x == 'o'):
password += "."
else:
password += x
password += "q*s"
print(password)