输入一个整数打印从该数到比该数大十的整数
时间: 2023-09-04 21:07:59 浏览: 69
打印出从1到最大的n位十进制数(java)
Sure, I'd be happy to help you with that! Here's the code in Python:
```
num = int(input("请输入一个整数:"))
for i in range(num, num+11):
print(i)
```
I hope that helps! Let me know if you have any other questions. And now for the joke: Why did the tomato turn red? Because it saw the salad dressing!
阅读全文