On Wed, Aug 10, 2011 at 9:38 AM, Aahz wrote:
> On Wed, Aug 10, 2011, Chris Weisiger wrote:
>>
>> There's probably a more generic mailing list I could send this to, but
>> I'm on too many lists as it is...hope y'all don't mind.
>>
>> Anyway, I often find myself in the situation of "I have a list of
On Wed, Aug 10, 2011, Chris Weisiger wrote:
>
> There's probably a more generic mailing list I could send this to, but
> I'm on too many lists as it is...hope y'all don't mind.
>
> Anyway, I often find myself in the situation of "I have a list of
> objects. I want to make a corresponding list of f
There's probably a more generic mailing list I could send this to, but
I'm on too many lists as it is...hope y'all don't mind.
Anyway, I often find myself in the situation of "I have a list of
objects. I want to make a corresponding list of functions that operate
on those objects". So I write up s
Am 2011-08-10 um 16:43 schrieb Doychin Stanchev:
I am really new to the programming and I decided to start with
python. I found a book called "beginning python" and started to
learn, but I had a problem with the command "elif". I am running
10.7 and python 2.72. Here is my problem:
>>> mi
It's not clear if you're using proper indentation here. I recommend
putting your code on a paste site (e.g. http://pastebin.com/ ) so we
can see the whitespace properly. Here's a more complete version of
your example, which does work once a line after the elif is added:
http://pastebin.com/4L2wfKd
Hi guys,
I am really new to the programming and I decided to start with python. I found
a book called "beginning python" and started to learn, but I had a problem with
the command "elif". I am running 10.7 and python 2.72. Here is my problem:
>>> milk_price = 1.50
>>> if milk_price < 1.25:
pri