Advertisement
Guest User

asd

a guest
Oct 16th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | None | 0 0
  1. print("Ввести первое число:")
  2. num1 = input()
  3. print("Ввести второе число")
  4. num2 = input()
  5. print("Ввести третье число")
  6. num3 = input()
  7.  
  8. if num1 == num2 or num2 == num1 or num3 == num1 or num2 == num3:
  9.     print("Среди данных чисел, есть пара одинаковых")
  10. else:
  11.     print("Что-то пошло не так")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement