Re: if expression source format

2008-12-11 Thread lambertdw
Consider following snippets: # must examine code carefully to see that result has a value if condition: result = expression1 else: result = another_expression return result # result has a value but difficult to understand how it comes about result = expre

if expression source format

2008-12-11 Thread
The "if" expression leads to long statements. Please offer suggestions to beautify this function. For this example use maximum line length marked by the 's. Thank you. ## def compute_wind_chill_temperture(T:'Temperature, dF',s:'W

Re: if expression source format

2008-12-11 Thread Steven D'Aprano
On Thu, 11 Dec 2008 02:07:54 -0500, Lambert, David W (S&T) wrote: > The "if" expression leads to long statements. Please offer suggestions > to beautify this function. For this example use maximum line length > marked by the 's. > > Thank you. > > > ###

Re: if expression source format

2008-12-11 Thread Duncan Booth
"Lambert, David W (S&T)" <[EMAIL PROTECTED]> wrote: > > The "if" expression leads to long statements. Please offer suggestions > to beautify this function. For this example use maximum line length > marked by the 's. > > Thank you. > > > ##

if expression source format

2008-12-10 Thread
The "if" expression leads to long statements. Please offer suggestions to beautify this function. For this example use maximum line length marked by the 's. Thank you. ## def compute_wind_chill_temperture(T:'Temperature, dF',s:'W