fork download
  1. mayor = 0
  2. maximo = 5 #Cantidad de numeros, puede variar
  3.  
  4. for i in range(maximo):
  5. num = int(input('Dame un numero:'))
  6. if num > mayor:
  7. mayor = num
  8.  
  9. print(mayor)
Runtime error #stdin #stdout #stderr 0.01s 47720KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "<builtin>/app_main.py", line 75, in run_toplevel
  File "prog.py", line 1
    mayor = 0
            ^
IndentationError: unexpected indent