On Thu, 29 Aug 2013 04:48:26 +0430, 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?


It's about the same as writing this:


x = 1
pass
y = 2
pass
z = x**2 + y**2
pass
print z
pass



except you save three keystrokes per LOC.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to