Previous month:
October 2021
Next month:
February 2022

November 2021

How to make a password system on Python (Tutorial)!

Today I will show you how to make a basic password system on Python!

Password = "rant"
password = ""
while (password != Password):
    print ("Whats your password?")
    password = input().lower()
    if password == "rant":
      print ("Access Granted")
      notes = input()
      print ("Notes: " + notes)
    else:
      print ("Access Denied")
 
 
I used notes as a example, but you could use anything, or add things like save.
Bye!