On 28/07/16 05:53, monik...@netzero.net wrote:
> I have been looking for tutorials but could not find anything
> at my level of understanding. You said to not focus on python
> but I had a python teacher ... stressing on doing things in
> "pythonic" way.
When learning to program there are two as
"pythonic" way.
Thank you for the links and I will check/read each one of them.
Monika
-- Original Message --
From: Danny Yoo
To: "monik...@netzero.net"
Cc: Alan Gauld , Python Tutor Mailing List
Subject: Re: [Tutor] python programmin problem
Date: Wed, 27 Jul
> You will see a problem being explained that you should be *very*
> interested in. :) Here's a link just to give you a taste:
>
> https://youtu.be/0yjebrZXJ9A?t=3m
>
>
> I hope that this helps point you in the right direction. Good luck!
He has some more recent videos from 2012:
htt
On Sun, Jul 24, 2016 at 4:30 PM, monik...@netzero.net
wrote:
> Thank you all for your answers. I do not have a teacher or any body else who
> could guide me. I have taken all python classes offered in my area and many
> on line.
> The question is one of questions asked by interviews for a qa pos
learn so that I could
get a job. Nobody offers manual qa jobs anymore so I am working on updating my
skills.
-- Original Message --
From: Alan Gauld via Tutor
To: tutor@python.org
Subject: Re: [Tutor] python programmin problem
Date: Mon, 25 Jul 2016 00:21:10 +0100
On 24/07/16 20
On 24/07/16 20:58, Danny Yoo wrote:
> Please: I strongly encourage you to talk with your professor or study
> group: it really does sound like this is the first time you've seen these
> kinds of concepts.
I agree with Danny, you should talk to your teacher.
I suspect the teacher may have set th
> You probably want to use a problem that has fewer moving parts. Your
instructor likely has a much nicer introductory problem so that you can
learn the patterns of thinking through these problems.
Just to add: there are online resources you can use for this. Khan
Academy, for example:
https://w
On Jul 23, 2016 9:27 AM, "monik...@netzero.net"
wrote:
>
> IM sorry I do not understand:
>
> For array A of length N, and for an integer k < N:
> -- By k do you mean value of k or position of k in the list?
>
The letter 'k' is typically intended to be used as an index, a position
into a list. I'
d
Cc: "monik...@netzero.net" , tutor
Subject: Re: [Tutor] python programmin problem
Date: Sat, 23 Jul 2016 00:13:36 -0700
On Thu, Jul 21, 2016 at 11:30 PM, Alan Gauld via Tutor wrote:
>
> Forwarding to list. Please use reply-all when responding to tutor messages.
>
> As Danny suggested
On Thu, Jul 21, 2016 at 11:30 PM, Alan Gauld via Tutor wrote:
>
> Forwarding to list. Please use reply-all when responding to tutor messages.
>
> As Danny suggested this is quite a complex problem. I wasn't sure whether
> it was just the programming or the bigger algorithm issue you were stuck on.
< items[i]:
> run +=[ items[i]]
> elif items[i - 1] > items[i]:
> del run[-1]
> run += [items[i]]
> print run
>
> -- Original Message --
> From: Alan Gauld via Tutor
> To: "m
On Wed, Jul 20, 2016 at 2:11 PM, monik...@netzero.net
wrote:
> Hi:
> Can somebody please provide answer to following python programming question?
> I have spent days on it and cannot come up with any code that would make any
> sense for it so I cannot provide you any code. But I would appreciate
IM not able to figure out algorithm to find the runs.
Here is the code I have:
def ProgressCalc(items):
counts = [items[0]]
for i in range(1, len(items)-1):
print "for loop", items[i], items[i + 1]
if counts[- 1] < items[i]:
counts += [items[i]]
prin
Hi:
Can somebody please provide answer to following python programming question? I
have spent days on it and cannot come up with any code that would make any
sense for it so I cannot provide you any code. But I would appreciate the
answer very much, if not in python, then in pseudo code.
Thank y
On 21/07/16 00:14, monik...@netzero.net wrote:
> IM not able to figure out algorithm to find the runs.
> Here is the code I have:
OK, Forget about code for now. just focus on what is being asked.
> > The first question to ask is can you do it without a computer?
> > In other words given
> >
> > i
On 20/07/16 22:11, monik...@netzero.net wrote:
> ... if not in python, then in pseudo code.
The first question to ask is can you do it without a computer?
In other words given
input [1,7,2,3,5,4,6]
Can you first of all produce a list of all valid runs?
[1,2,3,5,6] and [1,2,3,4,6] both have leng
16 matches
Mail list logo