-
-
Save parzibyte/b208c1278beae52c13662d9d14d7ede8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Al escanear se devuelve como cadena | |
promedio_como_cadena = input("Dime tu promedio: ") | |
# Convertir a float | |
promedio = float(promedio_como_cadena) | |
# Hacer la comparación | |
if promedio >= 7: | |
print("Aprobado") | |
else: | |
print("No aprobado") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment