擅长:python、mysql、java
<p>你真的应该给你的代码加上标记。
在代码的开头和结尾使用“`”,使其成为代码块</p>
<pre><code>def print_range(start, end):
# Loop through the numbers from start to end
n = start
while n <= end:
print(n)
n += 1
print_range(1, 5) # Should print 1 2 3 4 5 (each number on its own line)
</code></pre>