Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def maxx(a,b,c):
- if (a < b):
- a, b = b, a
- if (b < c):
- b, c = c, b
- if (a < b):
- a, b = b, a
- return a
- print(maxx(2,3,4))
- print(maxx(10,5,1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement