desislava_topuzakova

02. Greater Number

Oct 10th, 2020
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. #1. прочитаме две цели числа
  2. #2. проверка -> 1. първо >  второ  2. първо <= второ
  3.  
  4. first_number = int(input())
  5. second_number = int(input())
  6.  
  7. if first_number > second_number:
  8.     print(first_number)
  9. else: #first_number <= second_number
  10.     print(second_number)
Add Comment
Please, Sign In to add comment