Quảng cáo
3 câu trả lời 201
It looks like there's a small issue with the syntax of your code. In Python, the `print()` function should start with a lowercase "p." Here's the corrected version:
```python
for i in range(1, 10, 2):
print(i)
```
This code will print every second number starting from 1 up to 9:
```
1
3
5
7
9
```
Let me know if you need further clarification!
It looks like there's a small issue with the syntax of your code. In Python, the pr∫()pr∫() function should start with a lowercase "p." Here's the corrected version:
pythonfori∈ran≥(1,10,2):pr∫(i)pythonfori∈ran≥(1,10,2):pr∫(i)
This code will print every second number starting from 1 up to 9:
1357913579
Let me know if you need further clarification!
Quảng cáo
Bạn cần hỏi gì?
Câu hỏi hot cùng chủ đề
-
Đã trả lời bởi chuyên gia
55450 -
Đã trả lời bởi chuyên gia
31375 -
Đã trả lời bởi chuyên gia
29924
