On Mon, Feb 1, 2010 at 6:27 AM, invincible patriot
wrote:
> thanks for the reply
> i did one question
> i will tel u my progress in another question n then u tel me that what next
> must be done
> thatz the question
> i think that first i woulf take a string 'foobar'
> convert it into a list
>
On Sun, Jan 31, 2010 at 3:27 PM, invincible patriot <
invincible_patr...@hotmail.com> wrote:
> thanks for the reply
> i did one question
> i will tel u my progress in another question n then u tel me that what next
> must be done
>
> thanks
>
> Write a small Python program that generates the list
or ur reply
> Date: Sun, 31 Jan 2010 11:01:19 -0500
> From: amon...@columbus.rr.com
> To: tutor@python.org
> Subject: Re: [Tutor] can any one help
>
>
> > 1 1.1 Write a Python program with a loop that prints out a sequence
> > of numbers as follows:15 13 11...3 1 -1
Grigor Kolev
From: tutor-bounces+bermanrl=cfl.rr@python.org
[mailto:tutor-bounces+bermanrl=cfl.rr@python.org] On Behalf Of
invincible patriot
Sent: Sunday, January 31, 2010 5:03 AM
To: rabidpoob...@gmail.com; grigor.ko...@gmail.com
Cc: tutor@python.org
Subject: Re: [Tutor] can any one
> 1 1.1 Write a Python program with a loop that prints out a sequence
> of numbers as follows:15 13 11...3 1 -1
Hint 1: Learn about FOR loops.
Hint 2: Learn about the RANGE command.
Hint 3: Show us some code you have written. Even if yours doesn't
work, we can probably spot WHY it doesn't work.
tance.
please help me
From: rabidpoob...@gmail.com
Date: Sat, 30 Jan 2010 19:36:30 -0600
Subject: Re: [Tutor] can any one help
To: grigor.ko...@gmail.com
CC: invincible_patr...@hotmail.com; tutor@python.org
On Sat, Jan 30, 2010 at 5:40 PM, Grigor Kolev wrote:
Excuse me but I have question
On Sat, Jan 30, 2010 at 5:40 PM, Grigor Kolev wrote:
> Excuse me but I have question too.
> Why when i write this function in python shell not work says
> SyntaxError: invalid syntax
> but when I use IDLE make endless loop
>
Your tabbing is probably messed up or something.
You guys both need to b
Excuse me but I have question too.
Why when i write this function in python shell not work says
SyntaxError: invalid syntax
but when I use IDLE make endless loop
Sorry I also teach Python.
> def fibn(n):
> a,b=15,2
> while a>n:
> print a, # it is same like print a, a, b = a, a+b
> You
didnt got what u replied
Subject: Re: [Tutor] can any one help
From: grigor.ko...@gmail.com
To: invincible_patr...@hotmail.com
CC: anand.shash...@gmail.com; tutor@python.org
Date: Sun, 31 Jan 2010 01:21:15 +0200
В 22:49 + на 30.01.2010 (сб), invincible patriot написа
ibn(-1)
>
>
> whatz rong in this prog that the error is saying no break point
>
>
> thanks
>
> __
> From: anand.shash...@gmail.com
> Date: Sun, 31 Jan 2010 04:16:40 +0530
> Subject: Re: [
int
thanks
From: anand.shash...@gmail.com
Date: Sun, 31 Jan 2010 04:16:40 +0530
Subject: Re: [Tutor] can any one help
To: invincible_patr...@hotmail.com
CC: tutor@python.org
I got the question. I just gave you hints, so as you can try yourself. Also
please use 'Reply all'
On Sun, Jan 31,
--
> From: anand.shash...@gmail.com
> Date: Sun, 31 Jan 2010 04:05:09 +0530
>
> Subject: Re: [Tutor] can any one help
> To: invincible_patr...@hotmail.com
> CC: tutor@python.org
>
> Tips:
>
> 1.
> range can be stepped down in reverse order
>
Tips:
1.
range can be stepped down in reverse order
ex ->
>>> range(10, 1, -2)
[10, 8, 6, 4, 2]
2.
you can directly get chars of string.
ex ->
>>> [i for i in 'foobar']
['f', 'o', 'o', 'b', 'a', 'r']
also
>>> 2 * 'f'
'ff'
On Sun, Jan 31, 2010 at 3:56 AM, Shashwat Anand wrote:
> seems like home
seems like homework ;)
Can you paste your approach here ?
On Sun, Jan 31, 2010 at 3:03 AM, invincible patriot <
invincible_patr...@hotmail.com> wrote:
>
> hi
> i am stuck in few tasks can some one help me in that
> here are first few tasks
>
> 1
> how can i print the following series, using a loo
hii am stuck in few tasks can some one help me in thathere are first few tasks
1how can i print the following series, using a loop151311...31-12Write
a small Python program that generates the list of all pairs of characters c
andits doubling 2 c, where c moves through all the letters
15 matches
Mail list logo