System

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

productname = {}

status = ""

print ("====LOGIN====")

def askUser():

username = input("Enter your username: ")

password = input("Enter your password: ")

checkPass(username, password)

def checkPass(use, pwd):

if use == "admin" and pwd == "admin" :

login(use)

else:

print ("Your username and/or password was incorrect")

askUser()

def login(use):

print ("Welcome " + use)

print ("You have successfully logged in!")

askCom()

def askCom():

print ("Enter your Command:")

command = input("Press 'S' to show all: ")

if command == "s" :
username = ""

password = ""

print ("[1] Receive Materials")

print ("[2] Release Materials")

print ("[3] View Materials")

print ("=======================================================")

command == "m"

print ("Enter your Command:")

command = input("Press 'm' to show all: ")

print ("====LIST OF MATERIALS====")

print ("ID | ITEM NAME | INVENTORY COUNT ")

print ("[0] nails 100")

print ("----------")

print ("1[ADD] 2[EDIT] 3[DELETE 4[EXIT]")

Materials = input ("Materials Command: ")

Item = input ("Item: ")

Quality = input ("Quality: ")

print ("1[ADD] 2[EDIT] 3[DELETE 4[EXIT]")

Materials = input ("Materials Command: ")

Item = input ("Item: ")

Quality = input ("Quality: ")

Exiting = input ("Exiting")

command == "m"

print ("Enter your Command:")


command = input("Press 'm' to show all: ")

print ("====LIST OF MATERIALS====")

print ("ID | ITEM NAME | INVENTORY COUNT ")

print ("[0] nails 100")

print ("[1] angle bar 4")

print ("[2] wires 5")

print ("----------")

print ("1[ADD] 2[EDIT] 3[DELETE 4[EXIT]")

Materials = input ("Materials Command: ")

askUser()

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy