Skip to content

Instantly share code, notes, and snippets.

@DRMD431LU
Created September 13, 2018 03:57
Show Gist options
  • Save DRMD431LU/4de619c2fc9deb86aa95b05574864bbb to your computer and use it in GitHub Desktop.
Save DRMD431LU/4de619c2fc9deb86aa95b05574864bbb to your computer and use it in GitHub Desktop.
def comparar3():
A=input("Ingrese el numero A: ")
B=input("Ingrese el numero B: ")
C=input("Ingrese el numero C: ")
if (A>B):
Mayor=A
else:
Mayor=B
if(Mayor>C):
Mayor=Mayor
else:
Mayor=C
print("El numero mas grande de los 3 es: {mayor}".format(mayor=Mayor))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment