Advertisement
Guest User

Espinoza_Ejercicio 2

a guest
Mar 31st, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. #Pedir dos números y decir si son iguales o no.
  2.  
  3. print ("dame dos numeros")
  4.  
  5. numero1 = int(input("numero1 "))
  6. numero2 = int(input("numero2 "))
  7.  
  8. if numero1 == numero2:
  9.     print ("numero1 es igual a numero2")
  10.    
  11. else:
  12.     print ("numero1 no es igual a numero2")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement