Unsupported operand type(s) for +: 'float' and 'tuple'

2011-06-10 Thread Francesc Segura
Hello all, I'm new to this and I'm having problems on summing two values at python. I get the following error: Traceback (most recent call last): File C:\edge-bc (2).py, line 168, in module if (costGG = cost + T0): TypeError: unsupported operand type(s) for +: 'float' and 'tuple' I'm

Unsupported operand type(s) for +: 'float' and 'tuple'

2011-06-10 Thread Francesc Segura
Hello all, I'm new to this and I'm having problems on summing two values at python. I get the following error: Traceback (most recent call last): File C:\edge-bc (2).py, line 168, in module if (costGG = cost + T0): TypeError: unsupported operand type(s) for +: 'float' and 'tuple' I'm

Re: Unsupported operand type(s) for +: 'float' and 'tuple'

2011-06-10 Thread Francesc Segura
On 10 jun, 13:38, Tim Chase python.l...@tim.thechases.com wrote: On 06/10/2011 05:30 AM, Francesc Segura wrote: Hello all, I'm new to this and I'm having problems on summing two values at python. I get the following error: Traceback (most recent call last):    File C:\edge-bc (2).py