Re: [Tutor] Python Questions

2017-07-18 Thread Mats Wichmann
On 07/18/2017 11:42 AM, Alan Gauld via Tutor wrote: > On 18/07/17 11:41, Max Smith wrote: > >> What's the easiest way to learn python currently > > Write a lot of code. > > As to which tutorial to follow, that's a very personal choice and > depends on your previous knowledge and learning

Re: [Tutor] Python Questions

2017-07-18 Thread Alan Gauld via Tutor
On 18/07/17 11:41, Max Smith wrote: > What's the easiest way to learn python currently Write a lot of code. As to which tutorial to follow, that's a very personal choice and depends on your previous knowledge and learning style. If you can already program in a similar language(say Perl, PHP or

[Tutor] Python Questions

2017-07-18 Thread Max Smith
I have some questions about python. What's the easiest way to learn python currently I'm using google's excersise program, I'm just reading and making notes then testing out what I have learnt. Since I' need to understand python fully as I've got a exam in Python for my GCSE's if you could

[Tutor] Python Questions Help

2014-10-26 Thread Caroline H
Hi Python Tutor, I'm having a lot of trouble with this python problem and I'm wondering if you can help me. Given the lists, lst1 and lst2 , create a new sorted list consisting of all the elements of lst1 that also appears in lst2 . For example, if lst1 is [4, 3, 2, 6, 2] and lst2 is [1, 2, 4],

Re: [Tutor] Python Questions Help

2014-10-26 Thread Alan Gauld
On 26/10/14 22:15, Caroline H wrote: For example, lst1 = [2,5,6,7,2] lst2 = [2,4] it comes up with new_list = [2] when I need it to come up with new_list = [2,2] Check the logic in the if statement. Walk through it and se if it does what you expect. You are basically doing the right thing,

Re: [Tutor] Python Questions Help

2014-10-26 Thread Dave Angel
Please don't use html mail in a text newsgroup. And especially don't select black on black for your foreground and background colors. Caroline H carolineharl...@gmail.com Wrote in message: create a new sorted list consisting of all the elements of lst1 that also appears in lst2 . Are

[Tutor] python questions about dictionary loops

2012-02-28 Thread justin fargus
Hello, I'm new to Python. Just started a few weeks ago and I've been learning some basic things that I would like to put together but I don't even know where to began. I am trying to do the following: Make a program using two sentences of about 8 words (total between the two sentences). I

Re: [Tutor] python questions about dictionary loops

2012-02-28 Thread Prasad, Ramit
Justin wrote: I'm new to Python. Just started a few weeks ago and I've been learning some basic things that I would like to put together but I don't even know where to began. I am trying to do the following: Make a program using two sentences of about 8 words (total between the two

Re: [Tutor] python questions about dictionary loops

2012-02-28 Thread Steven D'Aprano
justin fargus wrote: Hello, I'm new to Python. Just started a few weeks ago and I've been learning some basic things that I would like to put together but I don't even know where to began. I am trying to do the following: Make a program using two sentences of about 8 words (total between the