Created
May 12, 2016 19:32
-
-
Save B2Crypt/075e15a2995939e26d1b42927764be2a to your computer and use it in GitHub Desktop.
An easy and simple creator of usernames based on the letters in your name.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#An easy and simple creator of usernames based on the letters in your name. | |
#Feel free to modify it like you want it. | |
firstLetters = input('How many letters from firstname?: ') #Enter how many letters we should use from the firstname of the user. | |
lastLetters = input('How many letters from lastname?: ') #Enter how many letters we should use from the lastname of the user. | |
firstName = raw_input('Firstname: ') | |
lastName = raw_input('Lastname: ') | |
username = str(lastName[:lastLetters]) + str(firstName[:firstLetters]) | |
print username.lower() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment