-- coding:utf-8 --
class Solution:
def GetLeastNumbers_Solution(self, tinput, k):
# write code here
tinput.sort()
out = tinput[:k]
return out
class Solution:
def GetLeastNumbers_Solution(self, tinput, k):
# write code here
tinput.sort()
out = tinput[:k]
return out