Ingresar 10 números y mostrar por pantalla: · Cuántos son mayores a 50 · Cuántos son menores o iguales a 50
```python numeros = [] for i in range(10): num = int(input("Ingrese un número: ")) numeros.append(num) mayores_50 = sum(1 for num in numeros if num > 50) menores_50 = len(numeros) - mayores_50 print(f"Mayores a 50: {mayores_50}") print(f"Menores o iguales a 50: {menores_50}") ``` The code asks the user to input 10 numbers, then it counts how many of them are greater than 50 and how many are less than or equal to 50. The results are then printed to the console.