Created
March 30, 2017 20:57
-
-
Save hector117/eac3fd7bf45336c9d939fcf6ace67b18 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
def smallest_of_four(l): | |
m = min(l) | |
return m | |
#main program below | |
print("Problema 5(Examen)") | |
ñ = 4 | |
l = [] | |
for i in range(ñ): | |
v = float(input("Ingresa un número")) | |
l.append(v) | |
a = smallest_of_four(l) | |
print("El número menor de tu lista es ",a) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment