On Fri, Sep 29, 2017 at 1:20 PM, Alan Gauld via Tutor wrote:
> On 29/09/17 08:51, Peter Collidge wrote:
>> I have borrowed the above book from my local library but I believe it was
>> written in 2010 and as a result I am having difficulty in deciding which
>> version of Python to download.
>> Can
On Fri, Sep 29, 2017 at 7:20 PM, Alan Gauld via Tutor wrote:
> If you want to follow the book use the version the book
> uses - probably 2.6 or something close?
>
I think the book uses either Python 3.0 or 3.1. It's been a while
since I read it but it doesn't use Python 2. The 2nd edition written
Hi Peter
My company primarily uses 2.7, but as I understand it 2.x flavors are
compatible with each other.
2.x scripts are generally not compatible with 3.x versions and vice versa
So, keep that in mind.
Regards,
-John
-Original Message-
From: Tutor [mailto:tutor-bounces+john.b.laro
On 29/09/17 08:51, Peter Collidge wrote:
> I have borrowed the above book from my local library but I believe it was
> written in 2010 and as a result I am having difficulty in deciding which
> version of Python to download.
> Can anyone help?
If you want to follow the book use the version the boo
On 27/07/16 02:39, kanishk srivastava wrote:
> Hello,
>
> I am working through Michael Dawson's book - Python Programming for
> absolute beginners 3e.
>
> Completed chapter 3, but unable to solve challenge 1.
I don't know the book so don't know how much you
know yet. So thee are some suggestions
On 12/08/13 01:52, Zack Hasanov wrote:
I have the following code so far:
def high_score():
high_scores = []
name = input("What is your name? ")
player_score = int(input("What is your score? "))
entry = (name, player_score)
high_scores.append(entry)
high_scores.sor
On 12/08/13 16:20, Prasad, Ramit wrote:
A binary chop is an algorithm.
Also known as Binary search; binary chop was not a name I had
heard before either.
Maybe a UK thing.
It means chop as in Karate not as in Lamb...
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk
Also don't know how to do a binary chop, but the book hasn't covered anything
>like that - it has just taught if, else and while,
>
>A binary chop is an algorithm. All you need is if/else and while.
The algorithm looks a bit like this:
while not found
determine the middle value between mi
# Write the psudocode for a program where the player and the computer
># trade places in the number guessing game. That is, the player picks a
># random number between 1 and 100 that the computer has to guess.
># Before you start, think about how you guess. If all goes well, try
># coding the
On 08/08/13 18:05, John Feleppa wrote:
I am working through Michael Dawson's book, "Python Programming for the
absolute beginner 3rd edition".
Have just completed Chapter 3, but cannot solve Challenge 4.
Has anyone solved this yet - and be willing to share this code?
If you give us a clue wh
i completed this book and i did every exercise. are you asking for
help with the challenges, or have you completed them and want code to
compare yours too? im relunctant to share challenge code, incase you
havent done them. They are really good exercises to try doing.
__
> I'm working through the Book Python Programming for the Absolute Beginner and
> am wondering if you could help me out with the coding to certain
> Challenges at the end of the book, specifically chapter 7 challenges 1 and 2
> and chapter 8 challenges 1 and 3.
Since I personally don't have that
Hi Grace,
On Thu, May 2, 2013 at 8:04 AM, Grace Kathryn
wrote:
> Hello~
>
> I'm working through the Book Python Programming for the Absolute Beginner
> and am wondering if you could help me out with the coding to certain
> Challenges at the end of the book, specifically chapter 7 challenges 1 an
13 matches
Mail list logo