Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/for.py Secret

Created June 24, 2021 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/f4ebe9b35834cbb565c2dd62850b9f0d to your computer and use it in GitHub Desktop.
Save parzibyte/f4ebe9b35834cbb565c2dd62850b9f0d to your computer and use it in GitHub Desktop.
for i in range(examenes):
respuesta = respuestas[i]
if respuesta in respuestas[:i]:
copias_detectadas_por_programa += 1
if respuesta in respuestas[i-examenes_recordados:i]:
copias_detectadas_por_profesor += 1
print(f"{copias_detectadas_por_profesor} {copias_detectadas_por_programa}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment