How to make a simple login system in python (using vs code)

Published: 26 August 2020
on channel: Coding Master
8,891
62

code:
accounts = {"Test" : "Test1", "Test2" : "Password"}

username = input("Please enter your username: ")
password = input("Please enter the password for " + username + ": ")

if (accounts.get(username) == password):
print("Login Succesful")
test = input(".") #This is just so the program doesn't shut down as soon as you get the username and password correct
else:
print("Login Failed")


On this page of the site you can watch the video online How to make a simple login system in python (using vs code) with a duration of hours minute second in good quality, which was uploaded by the user Coding Master 26 August 2020, share the link with friends and acquaintances, this video has already been watched 8,891 times on youtube and it was liked by 62 viewers. Enjoy your viewing!