Skip to content

Commit

Permalink
Final
Browse files Browse the repository at this point in the history
  • Loading branch information
indadominguez committed Oct 18, 2024
1 parent 5fe0c4d commit 0b0f861
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/prueba1.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ def num_mayor(num1, num2):
return 0

def main():

numero1 = float(input("Ingrese el primer número: "))

numero2 = float(input("Ingrese el segundo número: "))

resultado = num_mayor(numero1, numero2)

print(f"El resultado es: {resultado:.2f}")

if __name__ == "__main__":
Expand Down

0 comments on commit 0b0f861

Please sign in to comment.