题目:
代码:
class Solution:
def smallerNumbersThanCurrent(self, nums: List[int]) -> List[int]:
arr=[]
for i in nums:
count=0
for j in nums:
if(i>j):
count+=1
arr.append(count)
return arr