Enter your word: zebras
Enter a number: 62
Password not long enough.
Enter your word: newyorkcity
Enter a number: 892
Password: N@wyorkci+y892
1
Expert's answer
2019-10-25T09:35:48-0400
s = input("Enter your word: ")
n = input("Enter your number: ")
if len(s)<10:
print("Password not long enough")
else:
s = s.replace('e', '@')
s = s.replace('t','+')
s = s.capitalize()
password = s+n
print(password)
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment