```python import random # 生成一个1-50之间的随机数 random_number = random.randint(1, 50) print(random_number) ``` [2024-11-15 10:13:46 | AI写代码神器 | 78点数解答]