> "Rance Hall" wrote
>
> >But you have just finished enumerating them and I holds
> >the index of the last item, or in your case the count of
> >the last item. But even without that you can always
> >use len() to find out how many menuchoices there are...
>
> I knew about len, but somehow didnt t
The number 124 has the property that it is the smallest number whose
first three multiples contain the digit 2. Observe that
124*1 = 124, 124*2 = 248, 124*3 = 372 and that 124, 248 and 372 each
contain the digit 2. It is possible to generalize this property to be
the smallest number whose first n
Write a function named countRepresentations that returns the number
of ways that an amount of money in rupees can be represented as rupee
notes. For this problem we only use rupee notes in denominations of
1, 2, 5, 10 and 20 rupee notes.
The signature of the function is:
def countRepresentati
Hi there,
i'm struggling with a program, i feel like i am really close to getting it
but i cannot find a way to use the target variables inside of a loop:
I'm trying to get the program to ask the user, how many grades are you going
to enter. Then i want to work out the average which is fine. But
Ratna Banjara wrote:
The number 124 has the property that it is the smallest number whose
first three multiples contain the digit 2. Observe that
124*1 = 124, 124*2 = 248, 124*3 = 372 and that 124, 248 and 372 each
contain the digit 2. It is possible to generalize this property to be
the smalles
Krystal Brosz wrote:
Hi there,
i'm struggling with a program, i feel like i am really close to getting it
but i cannot find a way to use the target variables inside of a loop:
I'm trying to get the program to ask the user, how many grades are you going
to enter. Then i want to work out the aver
Hi Steve, thank you so much for your prompt reply. sorry i'm sending
another email as i haven't learnt how to replly to the posts properly yet.
I've had a go at implementing a list, but all i get is: It looks as though
it is appending all three values together rather than seperatly..
Please enter
Ratna,
This list doesn't usually do your homework. However, we will help you with key
issues. What have you tried already? Where are you stuck? Is there a certain
aspect you don't understand? (Questions like these get lots of help around
here. Informally saying "do my homework" generally doesn't.)
Hi there,
i'm struggling with a program, i feel like i am really close to getting it
but i cannot find a way to use the target variables inside of a loop:
I'm trying to get the program to ask the user, how many grades are you going
to enter. Then i want to work out the average which is fine. But
"Krystal Brosz" wrote
i'm struggling with a program, i feel like i am really close to
getting it
You are not far away but you have a few little
problems to fix.
but i cannot find a way to use the target variables inside of a
loop:
I have no idea what you mean by "target variables".
There
Hey All,
Does anyone have any experience creating virtualenvs that can assist me with
this error. I'm running windows 7, python 2.7.1 and virtualenv 1.6.
I installed virtualenv using easy_install and there were no errors. I get
the following error when trying to create a virtualenv.
On Sun, Apr 24, 2011 at 22:52, Malcolm Newsome
wrote:
> Hey All,
>
>
>
> Does anyone have any experience creating virtualenvs that can assist me with
> this error. I’m running windows 7, python 2.7.1 and virtualenv 1.6.
>
>
>
> I installed virtualenv using easy_install and there were no errors.
12 matches
Mail list logo