Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53201 > unrolled thread
| Started by | Ned Batchelder <ned@nedbatchelder.com> |
|---|---|
| First post | 2013-08-28 20:38 -0400 |
| Last post | 2013-08-28 20:38 -0400 |
| 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: semicolon at end of python's statements Ned Batchelder <ned@nedbatchelder.com> - 2013-08-28 20:38 -0400
| From | Ned Batchelder <ned@nedbatchelder.com> |
|---|---|
| Date | 2013-08-28 20:38 -0400 |
| Subject | Re: semicolon at end of python's statements |
| Message-ID | <mailman.336.1377736726.19984.python-list@python.org> |
On 8/28/13 8:18 PM, Mohsen Pahlevanzadeh wrote: > Dear all, > > I'm C++ programmer and unfortunately put semicolon at end of my > statements in python. > > Quesion: > What's really defferences between putting semicolon and don't put? There is no difference. The semicolon is unnecessary in Python. If you include them, people will know that you are still thinking in another language. Full disclosure: you can separate statements on a line with semicolons, but this practice is strongly discouraged. --Ned. > Yours, > Mohsen >
Back to top | Article view | comp.lang.python
csiph-web