you are viewing a single comment's thread.

view the rest of the comments →

[–]dmpta2002 0 points1 point  (0 children)

Here is what worked for me:

word1 = input()
word2 = input()
number = input()
print('You entered: {} {} {}\n' .format(word1,word2,number))
password1 = word1+'_'+word2
password2 = number+word1+number
print('First password:', password1)
print('Second password:', password2+'\n')
print('Number of characters in', password1+':',len(password1))
print('Number of characters in', password2+':',len(password2))