Untitled
unknown
plain_text
a year ago
408 B
6
Indexable
cont = 1 while cont <= 120: print(cont, end=" ") cont += 1 tentativa = 3 senha = "" while senha != 'senha': senha = input("Coloque a senha correta: ") tentativa -= 1 print(f"Senha incorreta, tente novamente. Lhe restam {tentativa} tentativas") if tentativa < 0: break print("Bem vindo.") num = 100 while num >= 1: print("numero: ",num) num -= 1
Editor is loading...
Leave a Comment