# 生成100个2位随机正整数

<p>生成100个2位随机正整数&#xff0c;按每行十个输出&#xff0c;并求出个位数字分别为0,1,2,3,4,5,6,7,8,9的正整数的个数</p>

## template

```python
import random
def fun():
	random_list = [random.randint(10, 99) for n in range(100)]
	statistics = {n: 0 for n in range(10)}
	for index, x in enumerate(random_list):
		print(x, end=' ')
		statistics[int(x % 10)] = statistics[int(x % 10)] + 1
		if ((index + 1) % 10 == 0):
			print()
	print(statistics)
if __name__ == '__main__':
	fun()
```

## 答案

```python

```

## 选项

### A

```python

```

### B

```python

```

### C

```python

```