hi need your help regarding if else function
here is my code
whatever id pass i put its make true and i use AND to check user and password sametime if true then go otherwise make it false but it make it true can you help me where i am mking mistake i am new to python no other lang have idea
here is my code
whatever id pass i put its make true and i use AND to check user and password sametime if true then go otherwise make it false but it make it true can you help me where i am mking mistake i am new to python no other lang have idea
user = input("type your Username ?") password =input("type your password please ? ") if(user == "abc", 'AND' ,password =="pass123"): print("welcome ", user, "hope you are doing fine") print("Note : Please must signin in 5 days a week ") elif(user == "type" ,'AND', password=="type2"): print("welcome ", user, "hope you are doing fine") print("Note :", user, " Please must signin in 5 days a week ") elif(user == "typeabc" ,'AND', password=="low"): print("welcome ", user, "hope you are doing fine")`enter code here` print("Note :",user, " Please must signin in 5 days a week ") else: print("sorry cant find user")thanks in advance