█████████ ████ ███░░░░░███ ░░███ ███ ░░░ ██████ ███████ ██████ ██████ ░███ ███░░███ ███░░███ ███░░███ ███░░███ ░███ ░███ ░███░███ ░███ ░███████ ░███ ░███ ░░███ ███░███ ░███░███ ░███ ░███░░░ ░███ ░███ ░░█████████ ░░██████ ░░████████░░██████ ░░██████ ░░░░░░░░░ ░░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░

Envío 4850

Problema 0x60 - ¿Mayor, menor o igual?

  • Autor: skycru_
  • Fecha: 2021-08-31 21:27:10 UTC (Hace más de 2 años)
Caso # Resultado Tiempo Memoria
#1
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.02 s 3 KBi
#2
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.019 s 3 KBi
#3
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.021 s 3 KBi
#4
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.025 s 3 KBi
#5
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.02 s 3 KBi
#6
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.018 s 3 KBi
#7
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.021 s 3 KBi
#8
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.023 s 3 KBi
#9
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.023 s 3 KBi
#10
Error en tiempo de ejecución (NZEC)
Exited with error status 1
  File "script.py", line 11
    break
    ^
SyntaxError: 'break' outside loop
0.02 s 3 KBi
Puntos totales: 0 / 100

Código

try:
    for _ in range(10):
        nums = input().split()
        if nums[0] < nums[1]:
            print('<')
        elif nums[0] == nums[1]:
            print('=')
        elif nums[0] > nums[1]:
            print('>')
except EOFError as e:
    break