Fake Login Python

Hi Fellow Programmers I made a fake login (Hopefully someday a real one) and wanted you to be able to make your own/edit mine if you want to.

print('I like it') import os DefaultUsername = "UserGuest" print ("Welcome to User.JRPlayz") print("Please Enter A Username") Username = input("Username:"); print ("Hello," + "" + Username) Password = input("Password:"); print ("Don't Worry" + " " + Username + " " + "You're Password is safe with us") age = int(input("Age:")); if (age > 10): print ("Wow... " + " " + str(age) + " " + " ... yikes you are old!" ) else: print ("Oh" + " " + str(age) + " " + "that's a nice age!" ) from random import randint user_id = randint(1, 1000000) print ("Making User ID...") print ("User ID =" + str(user_id)) print ("You are Logged in!") Server = "Server Code " Server += str (randint(1, 1000000)) Logout = input("Would you like to logout?:") if Logout == "yes": print ("Logging out...") print ("You are Logged out.") os.system('clear') else: print ("Logout Canceled") PasswordHasher = hash(Password) #+= is adding another value to a variable #Number with Decimal point is called float float1 etc.
1 Like

Wow ty for posting this helps so much!

1 Like

Your welcome!!! And Thanks for telling me how you feel about it :smiley: