You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[THIS IS SPAM] Treinando Phyton , fazendo jogo de advinhação basico #4142
def exibir_ranking (ranking):
print("\n--- Ranking de Pontuação ---")
if not ranking:
print("Nenhum jogador registrado.")
else:
for i, pontos in enumerate(ranking[:5],1):
print(f"{i}º lugar: {pontos} tentativas")
print("-----------------------------")
print ("-----------------------------")
print("Bem-vindo ao jogo de adivinhação!")
print("Tente adivinhar o número secreto entre 1 e 100.")
print ("-----------------------------")
while not acertou:
try:
chute = int(input("digite seu chute : "))
tentativas += 1
if chute < numero_secreto:
print("Tente um número maior.")
elif chute > numero_secreto:
print("Tente um número menor.")
else:
acertou = True
print(f" Parabens Voce acertou o numero secreto em {tentativas} tentativas.")
ranking.append(tentativas)
except ValueError:
print("digite um numero valido.")
exibir_ranking(ranking)
jogar_novamente = input("Deseja jogar novamente? (s/n): ")
if jogar_novamente.lower() != 's':
print("Obrigado por jogar! Até a próxima!")
break
At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.
This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!
If you're interested in learning more about this auto-responder, please read this blog post.
changed the title [-]Treinando Phyton , fazendo jogo de advinhação basico[/-][+][THIS IS SPAM] Treinando Phyton , fazendo jogo de advinhação basico[/+]on May 3, 2026
Activity
github-actions commentedon May 2, 2026
Hello. Thanks for opening an issue on Exercism 🙂
At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.
This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!
If you're interested in learning more about this auto-responder, please read this blog post.
[-]Treinando Phyton , fazendo jogo de advinhação basico[/-][+][THIS IS SPAM] Treinando Phyton , fazendo jogo de advinhação basico[/+]