Newbie question: Input

Sean Blakey sblakey at home.com
Mon Nov 8 15:05:08 EST 1999


On Mon, 8 Nov 1999, Mikael Olofsson wrote:

> 
> On 08-Nov-99 Endgamer wrote:
>  > #####################################
>  >  Not a quote, just an on-the-spot observation:
>  >  You know you're a geek when your PC costs exactly
>  >  15 times as much as your stereo. And gives better
>  >  sound quality.<sigh>
>  >                                Endgamer
>  > #####################################
> 
> Sounds like we can define a geek index as 
> 
>        Price of PC
>   --------------------
>   15 * Price of stereo
> 
> as an analogue to the audiophile index
> 
>         Price of stereo
>   --------------------------
>   Price of record collection 
> 
> off-topic-again-ly y'rs
> 
> /Mikael
> 
> -----------------------------------------------------------------------
> E-Mail:  Mikael Olofsson <mikael at isy.liu.se>
> WWW:     http://www.dtr.isy.liu.se/dtr/staff/mikael
> Phone:   +46 - (0)13 - 28 1343
> Telefax: +46 - (0)13 - 28 1339
> Date:    08-Nov-99
> Time:    20:33:48
> 
> This message was sent by XF-Mail.
> -----------------------------------------------------------------------
> 
> -- 
> http://www.python.org/mailman/listinfo/python-list
> 
This formula does not take into acoount those of us who do not have
stereos (unless you count the speakers on my computer).  While I do have a
big ego, I do not believe that I deserve such a high geek index.  Perhaps
this would work better

def geekIndex(pc_cost, stereo_cost, default_index=1.0):
	try:
		return pc_cost / (15 * stereo_cost)
	except ZeroDivisionError:
		return default_index 


http://students.washington.edu/sblakey/
(206)934-5222
Public PGP key available at http://students.washington.edu/sblakey/public.asc







More information about the Python-list mailing list