On 2014-02-24, Benjamin Kaplan wrote:
> On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
>> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
>>>
>>> On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
func()
>>>
>>>
>>> the obvious indentation error above
>>
>>
>> Stupid
In article ,
Mark Lawrence wrote:
> On 24/02/2014 00:55, alex23 wrote:
> > On 23/02/2014 3:43 PM, Scott W Dunning wrote:
> >> I had a question regarding functions. Is there a way to call a
> >> function multiple times without recalling it over and over. Meaning
> >> is there a way I can call a
On Tue, 25 Feb 2014 02:18:43 -, Dennis Lee Bieber
wrote:
On Mon, 24 Feb 2014 01:01:15 -, "Rhodri James"
declaimed the following:
The function "range" returns the sequence of numbers 1, 2, 3, 4 and 5
[*],
so this has the same effect as if you had typed:
Wrong -- it
On 02/25/2014 07:52 PM, Ethan Furman wrote:
> On 02/23/2014 08:01 PM, ru...@yahoo.com wrote:
>> On 02/23/2014 08:21 PM, Mark Lawrence wrote:
>>> On 24/02/2014 02:55, Benjamin Kaplan wrote:
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
>>
On 26/02/2014 02:06, Cameron Simpson wrote:
On 24Feb2014 13:59, Mark Lawrence wrote:
On 24/02/2014 04:01, ru...@yahoo.com wrote:
On 02/23/2014 08:21 PM, Mark Lawrence wrote:
On 24/02/2014 02:55, Benjamin Kaplan wrote:
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
On 24/02/2014 11:09 AM, M
On 02/23/2014 08:01 PM, ru...@yahoo.com wrote:
On 02/23/2014 08:21 PM, Mark Lawrence wrote:
On 24/02/2014 02:55, Benjamin Kaplan wrote:
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
On 23Feb2014 18:55, Benjamin Kaplan wrote:
> On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
> > On 24/02/2014 11:09 AM, Mark Lawrence wrote:
> >> On 24/02/2014 00:55, alex23 wrote:
> >>> for _ in range(5):
> >>> func()
> >>
> >> the obvious indentation error above
> >
> > Stupid cut&pas
On 24Feb2014 13:59, Mark Lawrence wrote:
> On 24/02/2014 04:01, ru...@yahoo.com wrote:
> >On 02/23/2014 08:21 PM, Mark Lawrence wrote:
> >>On 24/02/2014 02:55, Benjamin Kaplan wrote:
> >>>On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
> >On 2
- Original Message -
> On Feb 23, 2014, at 1:44 AM, Steven D'Aprano <
> steve+comp.lang.pyt...@pearwood.info > wrote:
> > Sorry, I don't really understand your question. Could you show an
> > example
>
> > of what you are doing?
>
> > Do you mean "add 5" or "*5"? "Add *5 doesn't really
On 24/02/2014 04:01, ru...@yahoo.com wrote:
On 02/23/2014 08:21 PM, Mark Lawrence wrote:
On 24/02/2014 02:55, Benjamin Kaplan wrote:
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
On Sunday, 23 February 2014 05:43:17 UTC, Scott W Dunning wrote:
> I had a question regarding functions. Is there a way to call a function
> multiple times without recalling it over and over. Meaning is there a way I
> can call a function and then add *5 or something like that?
The followin
On Sunday, 23 February 2014 05:43:17 UTC, Scott W Dunning wrote:
> I had a question regarding functions. Is there a way to call a function
> multiple times without recalling it over and over. Meaning is there a way I
> can call a function and then add *5 or something like that?
>
The followi
On 02/23/2014 08:21 PM, Mark Lawrence wrote:
> On 24/02/2014 02:55, Benjamin Kaplan wrote:
>> On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
>>> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
> for _ in range(5):
> func()
the obvious i
On 2014-02-24 03:21, Mark Lawrence wrote:
On 24/02/2014 02:55, Benjamin Kaplan wrote:
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
func()
the obvious indentation error above
On 24/02/2014 02:55, Benjamin Kaplan wrote:
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
func()
the obvious indentation error above
Stupid cut&paste :(
--
Your message c
On Sun, Feb 23, 2014 at 5:39 PM, alex23 wrote:
> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
>>
>> On 24/02/2014 00:55, alex23 wrote:
>>>
>>>
>>> for _ in range(5):
>>> func()
>>
>>
>> the obvious indentation error above
>
>
> Stupid cut&paste :(
> --
Your message came through fine for
I understood what you meant because I looked up loops in the python
documentation since we haven’t got there yet in school.
On Feb 23, 2014, at 6:39 PM, alex23 wrote:
> On 24/02/2014 11:09 AM, Mark Lawrence wrote:
>> On 24/02/2014 00:55, alex23 wrote:
>>>
>>> for _ in range(5):
>>> f
On Feb 23, 2014, at 12:59 AM, Ben Finney wrote:
>
> You should ask question like this on the “python-tutor” forum.
Thanks Ben, I wasn’t aware of PythonTutor.
--
https://mail.python.org/mailman/listinfo/python-list
On 24/02/2014 11:09 AM, Mark Lawrence wrote:
On 24/02/2014 00:55, alex23 wrote:
for _ in range(5):
func()
the obvious indentation error above
Stupid cut&paste :(
--
https://mail.python.org/mailman/listinfo/python-list
> On Feb 23, 2014, at 17:09, Mark Lawrence wrote:
>
> For the benefit of newbies, besides the obvious indentation error above, the
> underscore basically acts as a dummy variable. I'll let the language lawyers
> give a very detailed, precise description :)
You mean a dummy name binding, rig
On Feb 23, 2014, at 1:44 AM, Steven D'Aprano
wrote:
>
> Sorry, I don't really understand your question. Could you show an example
> of what you are doing?
>
> Do you mean "add 5" or "*5"? "Add *5 doesn't really mean anything to me.
Sorry I forgot to add the code that I had to give an example
On 24/02/2014 00:55, alex23 wrote:
On 23/02/2014 3:43 PM, Scott W Dunning wrote:
I had a question regarding functions. Is there a way to call a
function multiple times without recalling it over and over. Meaning
is there a way I can call a function and then add *5 or something like
that?
The
On Sun, 23 Feb 2014 05:43:17 -, Scott W Dunning
wrote:
I had a question regarding functions. Is there a way to call a function
multiple times without recalling it over and over. Meaning is there a
way I can call a function and then add *5 or something like that?
The usual way to ca
On 23/02/2014 3:43 PM, Scott W Dunning wrote:
I had a question regarding functions. Is there a way to call a function
multiple times without recalling it over and over. Meaning is there a way I
can call a function and then add *5 or something like that?
The same way you repeat anything in P
On Sat, 22 Feb 2014 22:43:17 -0700, Scott W Dunning wrote:
> Hello,
>
> I had a question regarding functions. Is there a way to call a function
> multiple times without recalling it over and over. Meaning is there a
> way I can call a function and then add *5 or something like that?
Sorry, I
Scott W Dunning writes:
> I had a question regarding functions. Is there a way to call a
> function multiple times without recalling it over and over.
You should ask question like this on the “python-tutor” forum. I say
that because this question suggests you have yet to learn about basic
Pytho
26 matches
Mail list logo