Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63176 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2014-01-05 08:03 +0000 |
| Last post | 2014-01-05 08:03 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: print range in python3.3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-05 08:03 +0000
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2014-01-05 08:03 +0000 |
| Subject | Re: print range in python3.3 |
| Message-ID | <mailman.4934.1388908990.18130.python-list@python.org> |
On 05/01/2014 07:38, luofeiyu wrote:
>>>> range(1,10)
> range(1, 10)
>>>> print(range(1,10))
> range(1, 10)
>
> how can i get 1,2,3,4,5,6,7,8,9 in python3.3 ?
>
for i in range(1,10):
print(i, end=',')
print()
I hope you can cope with the comma at EOL :)
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
Back to top | Article view | comp.lang.python
csiph-web