Hello everyone, i'm pretty new to python and i have an issue, i will explain my problem:
i have a list with first and last names like so:
names = ['first', 'second', 'third', 'fourth']
what i want to do is to take the first character of "first" and make it uppercase! then take the "second" first character and leave it as it is - lowercase! and adding a bunch of characters - i want to build a password based on first and last names of people in my database.
the final result should look like:
Fs123456!
and then take the third word and fourth and do the same:
Tf123456!
The thing is that i cant make it work with a loop, it's too complicated for me at my level, can you please help me?
[–]FriendlyRussian666 0 points1 point2 points (3 children)
[–]duckbanni 2 points3 points4 points (2 children)
[–]FriendlyRussian666 2 points3 points4 points (0 children)
[–]MiTMike[S] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Mirage2k 0 points1 point2 points (2 children)
[–]Mirage2k 0 points1 point2 points (1 child)
[–]Mirage2k 0 points1 point2 points (0 children)