Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. def naj():
  2.  
  3.     a = int(input('Podaj pierwszą liczbę: '))
  4.     b = int(input('Podaj drugą liczbę: '))
  5.  
  6.     if a > b:
  7.         print('Liczba ' + repr(a) + ' jest większa od liczby ' + repr(b))
  8.     else:
  9.         print('Liczba ' + repr(b) + ' jest większa od liczby ' + repr(a))
  10.  
  11. naj()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement