desislava_topuzakova

02. Greater Number

Apr 10th, 2021
479
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # 1. две цели числа (int)
  2. # 2. проверка: ако първото >= второто -> печатаме първото
  3. # 3. в противен случай (първото < второто) -> печатаме второто
  4. number1 = int(input())
  5. number2 = int(input())
  6. if number1 >= number2:
  7.     print(number1)
  8. else: # number1 < number2
  9.     print(number2)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×