Skip to main content
2 of 6
added 60 characters in body
Maltysen
  • 25.8k
  • 4
  • 55
  • 127

#Pyth - 7

qShQSeQ

Guess who is an idiot and forgot the end command. I am. :( Otherwise, very simple.

q       equals
ShQ     sorted first elment of input
SeQ     sorted last element of input
Maltysen
  • 25.8k
  • 4
  • 55
  • 127