Python 49
[Python 100] Python 100
lambda
#!/usr/bin/python
# -*- coding: UTF-8 -*-
MAXIMUM = lambda x,y : (x > y) * x + (x < y) * y
MINIMUM = lambda x,y : (x > y) * y + (x < y) * x
if __name__ == '__main__':
a = 10
b = 20
print ('The largar one is %d' % MAXIMUM(a,b))
print ('The lower one is %d' % MINIMUM(a,b))
The largar one is 20 The lower one is 10
[Python 100] Python 100
sun_shine
101***[email protected]
Python3
#!/usr/bin/python3 h=lambda x,y:x//y x,y=eval(input('')) print(h(x,y))sun_shine
101***[email protected]
382***[email protected]
382***[email protected]
kamiya
mec***[email protected]
kamiya
mec***[email protected]