Advertisement
Guest User

task_2

a guest
Oct 14th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 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:
  9.     print("Среди данных чисел, есть пара одинаковых")
  10. else:
  11.     print("Что-то пошло не так")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement