Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- contar = []
- intento = input("adivina mi nombre > ")
- while intento != "Martin" and intento != "martin":
- intento = input("error, adivina de nuevo > ")
- contar.append(intento)
- conteo = 1
- for intento in contar:
- conteo = conteo + 1
- print("bien hecho en " + str(conteo) + " intentos adivinaste mi nombre")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement