思路:只要嵌套循环即可算出有多少个。
count = 0 #计数器
for x in range(1,2022): #x从1到2021遍历
for y in range(1,2022): #同理
if x*y<=2021:
count += 1
print(count)