0
In this code, as I would for the user to register a name and any password to log in?
#Python 3.8.5
inicial = input("Olá!")
inicial2 = input("Você é um novo usuário?")
answer = input("Responda 'Sim' ou 'Não': ")
if answer == "Sim" or "sim":
print("Vamos nos cadatrar!")
def registrar_usuario():
cadastro_usuario = input("\n\nUsuário: ")
def registrar_senha():
cadastro_senha = input("\n\nSenha: ")
print("Cadatro realizado com sucesso!")
print("Entre com seu usuário e senha!")
usuario = input("\n\nUsuário: ")
senha = input("Senha: ")
#Nessa parte quero que o programa use o nome de usuario e a senha fornecida pelo usuario.
if usuario == ' ' and senha == ' ':
print("Login realizado")
Welcome to the SO-pt, please read the manual on how NOT to ask questions, especially the section find that we will do all your work for free
– Pedro Sanção