Hi, I'm a newbie on programing Hello, I want to make an app register. But I've got problem with sending the person back who got incorrect password print to the back. I considered the "while" to use with. Could you guys help me please?
#Pochighoo App
#registiration side
from ast import While
from asyncore import loop
from random import randint
from time import sleep
from turtle import back, backward
#description part
print("Hi, this is Burak who made this app named Pochighoo.\n In this app, we'll be able to use several feaute.\n Let's start with making your account ready to use up. ")
sleep(randint(4,5))
#register side
userNAME = input("Choose a username:",)
passwd = input("Choose a password:",)
sleep(randint(3,5))
#login side
usrlogin = input("Enter your username:",)
passwdLogin = input("Enter your password:",)
if **usrlogin** == userNAME and passwd == passwdLogin:
print("Welcome to Pochinghoo!")
print("Username or password that you entered is incorrect, please try again.")
While usrlogin != userNAME or passwdLogin != passwdLogin
print(" how are you doing?")
the error appears for the bolded below:
if **usrlogin** == userNAME and passwd == passwdLogin:
I'm saying that how can I solve that problem?