Thank You, I now understand what i need to do now, and again Thanks
On Mon, Feb 23, 2009 at 1:57 AM, Gabriel Genellina
wrote:
> En Mon, 23 Feb 2009 07:07:57 -0200, Tony
> escribió:
>
> ok thank you for that input, this is my first class in programming and its
>> the only one the school offers. i
Tony wrote:
The full error message says "There's an error in your program: ***
'return' outside function (final(2).py, line 114)
Ah, you left the quotes off before, and you still omitted the error
class (SyntaxError, see below).
When you are puzzled by an error, try to reduce the executed co
En Mon, 23 Feb 2009 07:07:57 -0200, Tony
escribió:
ok thank you for that input, this is my first class in programming and
its
the only one the school offers. im pretty sure those are supposed to be
modules
that im writting. would it make a difference if those were modules and
not
functio
ok thank you for that input, this is my first class in programming and its
the only one the school offers. im pretty sure those are supposed to be
modules
that im writting. would it make a difference if those were modules and not
functions? kinda stupid question there but im trying to learn as much
En Mon, 23 Feb 2009 04:51:39 -0200, Tony
escribió:
Hi,
I am trying to write a small program for my final for school, everytime i
run my program it gives me a return outside function error (after i fixed
all the indentation errors it throws at me), i am not very good at
programing with python
Ok, that's not a standard Python error report (I'm guessing you're
using an IDE of some sort).
Also, something's not right because your excerpt doesn't match the
source you posted.
In your previous post, the 'while' line in question was given as:
while introselection < 1 or introselection > 2
Not
The full error message says "There's an error in your program: *** 'return'
outside function (final(2).py, line 114)
which is were this return statement is..
while introselection < 1 or introselection > 2:
print 'That area is unavaible please buy the expansion haha'
return introse
On Sun, Feb 22, 2009 at 10:51 PM, Tony wrote:
> Hi,
> I am trying to write a small program for my final for school, everytime i
> run my program it gives me a return outside function error (after i fixed
> all the indentation errors it throws at me), i am not very good at
> programing with python
Hi,
I am trying to write a small program for my final for school, everytime i
run my program it gives me a return outside function error (after i fixed
all the indentation errors it throws at me), i am not very good at
programing with python atm, so any help would be appreiciated. and if im
missing