Re: [Tutor] Python programming help!

2018-09-23 Thread V E G E T A L
Wow, didn't know attachments didn't work. I had posted my screenshot as an attachment, never expected you to read my mind. I solved the problem, it was a spelling mistake (I know, I'm stupid). Thank a lot though! Στις Κυρ, 23 Σεπ 2018 - 16:25 ο χρήστης Bob Gailer έγραψε: > On Sep 23, 2018 3:33

Re: [Tutor] Python programming help!

2018-09-23 Thread Carlton Banks
Without having Seen the code, use og statements.. but please provide is the code... søn. 23. sep. 2018 15.26 skrev Bob Gailer : > On Sep 23, 2018 3:33 AM, "V E G E T A L" > wrote: > > > > Hello folks! So, I'm pretty much a noob still experimenting with basic > > commands. I wanted to make a

Re: [Tutor] Python programming help!

2018-09-23 Thread Bob Gailer
On Sep 23, 2018 3:33 AM, "V E G E T A L" wrote: > > Hello folks! So, I'm pretty much a noob still experimenting with basic > commands. I wanted to make a code that checks if the value of one variable > is less, equal or greater than the other. Pretty simple right? But then, > this problem

Re: [Tutor] Python programming help!

2018-09-23 Thread Mark Lawrence
On 21/09/18 16:12, V E G E T A L wrote: Hello folks! So, I'm pretty much a noob still experimenting with basic commands. I wanted to make a code that checks if the value of one variable is less, equal or greater than the other. Pretty simple right? But then, this problem emerged. I would really

[Tutor] Python programming help!

2018-09-23 Thread V E G E T A L
Hello folks! So, I'm pretty much a noob still experimenting with basic commands. I wanted to make a code that checks if the value of one variable is less, equal or greater than the other. Pretty simple right? But then, this problem emerged. I would really love some help, since I'm stuck and can't

Re: [Tutor] Python programming for the absolute beginner

2017-09-30 Thread boB Stepp
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

Re: [Tutor] Python programming for the absolute beginner

2017-09-29 Thread Matthew Ngaha
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

Re: [Tutor] Python programming for the absolute beginner

2017-09-29 Thread Larocca, John B
+john.b.larocca=intel@python.org] On Behalf Of Peter Collidge Sent: Friday, September 29, 2017 12:51 AM To: tutor@python.org Subject: [Tutor] Python programming for the absolute beginner 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

Re: [Tutor] Python programming for the absolute beginner

2017-09-29 Thread Alan Gauld via Tutor
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

[Tutor] Python programming for the absolute beginner

2017-09-29 Thread Peter Collidge
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? Thanks Peter Collidge ___ Tutor maillist -

Re: [Tutor] Python Programming for the absolute beginner 3e Ch3 Challenge 1

2016-07-27 Thread Alan Gauld via Tutor
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

[Tutor] Python Programming for the absolute beginner 3e Ch3 Challenge 1

2016-07-27 Thread kanishk srivastava
Hello, I am working through Michael Dawson's book - Python Programming for absolute beginners 3e. Completed chapter 3, but unable to solve challenge 1. Below code is what I have written but unsure on how to have the program generate the message at random. Any help will be appreciated. #

[Tutor] Python Programming

2014-08-27 Thread Jake
To whom it may concern, My name is Jake and I have recently started the GCSE computing course with school. As summer holidays homework we have been asked to make a game. So I have made a Capital Cities Quiz. When I run my program this part of my coding does not seem to work: answera = input()

Re: [Tutor] Python Programming

2014-08-27 Thread Alan Gauld
On 27/08/14 14:40, Jake wrote: To whom it may concern, My name is Jake and I have recently started the GCSE computing course with school. answera = input() if answera == [Oslo or oslo]: This doesn't do what you think it does. [Oslo or oslo] is a list Oslo or oslo is the content of the

Re: [Tutor] Python Programming

2014-08-27 Thread D . V . N . Sarma డి . వి . ఎన్ . శర్మ
change the line if answera == [Oslo or oslo]: to if answera == Oslo or answera == oslo: and see if it works. regards, Sarma. On Thu, Aug 28, 2014 at 12:27 AM, Alan Gauld alan.ga...@btinternet.com wrote: On 27/08/14 14:40, Jake wrote: To whom it may concern, My name is Jake and I have

[Tutor] Python programming book material

2014-07-04 Thread Sunil Shenoy
Hello I have just started to try and learn Python and purchased Dawson's book for the absolute beginner. I cannot find the material referred to under www.courseptr etc. Can you please help? I have the 3rd edition of the book. I did get Python installed etc. and tried some code fragments and

Re: [Tutor] Python programming book material

2014-07-04 Thread jh
From: Tutor [mailto:tutor-bounces+xperimental22=gmail@python.org] On Behalf Of Sunil Shenoy Sent: Friday, July 04, 2014 2:36 PM To: tutor@python.org Subject: [Tutor] Python programming book material Hello I have just started to try and learn Python and purchased Dawson's book

Re: [Tutor] Python programming book material

2014-07-04 Thread Alan Gauld
On 04/07/14 19:35, Sunil Shenoy wrote: I did get Python installed etc. and tried some code fragments and right away run into a syntax error in the following line: print (June, end= ) Looks like your book is for Python v3 but you have installed Python v2. You need to get v3. If you are using

[Tutor] Python Programming Help

2013-09-11 Thread Katie
Hello, I am a beginner in computer programming. I am studying math, and the math class that I will be taking requires knowledge in Python. So, I am in a computer science class. Therefore, I do not have an in-depth knowledge of computer programming. I am currently trying to write a program

Re: [Tutor] Python Programming Help

2013-09-11 Thread Chris Down
On 2013-09-10 21:01, Katie wrote: In my NotePad file, I have the following...I'm not sure if I am even going about doing this problem correctly... I don't envy you having to use notepad. Consider using a more sane editor... you'll thank yourself for it. def sinh(x): return (1/2)*(e^x -

Re: [Tutor] Python Programming Help

2013-09-11 Thread Amit Saha
Hi Katie, On Wed, Sep 11, 2013 at 11:01 AM, Katie xrandomhear...@aim.com wrote: Hello, I am a beginner in computer programming. I am studying math, and the math class that I will be taking requires knowledge in Python. So, I am in a computer science class. Therefore, I do not have an

Re: [Tutor] Python Programming Help

2013-09-11 Thread Alan Gauld
On 11/09/13 02:01, Katie wrote: I am a beginner in computer programming. Hi welcome to the tutor list. I am currently trying to write a program in Python version 2.7.5 *that uses the math module to compute sinh(x) = 1/2(e^x - e^(-x)) in three ways for a given value of x:* *1a) by using the

Re: [Tutor] Python Programming Help

2013-09-11 Thread Oscar Benjamin
On 11 September 2013 10:48, Amit Saha amitsaha...@gmail.com wrote: Hi Katie, So, before you write the solution to the programming problem above, can you first try to write a program and then run it? What operating system are you working? If you are on Windows, can I suggest you to take a

Re: [Tutor] Python Programming Help

2013-09-11 Thread Amit Saha
On Wed, Sep 11, 2013 at 7:59 PM, Oscar Benjamin oscar.j.benja...@gmail.com wrote: On 11 September 2013 10:48, Amit Saha amitsaha...@gmail.com wrote: Hi Katie, So, before you write the solution to the programming problem above, can you first try to write a program and then run it? What

[Tutor] Python Programming for the Absolute Beginner - Chap 7 Q: 2

2013-08-12 Thread Zack Hasanov
Hello, I am a python newbie. I am reading this book (Python Programming for the Absolute Beginner). I am on Chapter 7, Question 2. Improve the Trivia Challenge game so that it maintains a high-scores list in a file. The program should record the player's name and score. Store the high

Re: [Tutor] Python Programming for the Absolute Beginner - Chap 7 Q: 2

2013-08-12 Thread Alan Gauld
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)

[Tutor] Python Programming for the absolute beginner 3e, Ch3 Challenge 4

2013-08-11 Thread John Feleppa
Thanks for getting back to me... I am using Python 3.3.2. The challenge is as follows: # Chapter 3 Challenge 4 # # 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

Re: [Tutor] Python Programming for the absolute beginner 3e, Ch3 Challenge 4

2013-08-10 Thread ALAN GAULD
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 min  

Re: [Tutor] Python Programming for the absolute beginner 3e, Ch3 Challenge 4

2013-08-09 Thread ALAN GAULD
# 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

[Tutor] Python Programming for the absolute beginner 3e Ch3 Challenge 4

2013-08-08 Thread John Feleppa
Hello, 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? I would much appreciate.. John.

Re: [Tutor] Python Programming for the absolute beginner 3e Ch3 Challenge 4

2013-08-08 Thread Alan Gauld
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

[Tutor] Python Programming for the Absolute Beginner

2013-05-15 Thread Grace Kathryn
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 and 2 and chapter 8 challenges 1 and 3. Could you help? I need something

Re: [Tutor] Python Programming for the Absolute Beginner

2013-05-15 Thread Amit Saha
Hi Grace, On Thu, May 2, 2013 at 8:04 AM, Grace Kathryn grace_k_por...@earthlink.netwrote: 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

Re: [Tutor] Python Programming for the Absolute Beginner

2013-05-15 Thread Robert Sjoblom
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

Re: [Tutor] Python Programming for the Absolute Beginner

2013-05-15 Thread Matthew Ngaha
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.

[Tutor] Python Programming for Absolute Beginners, 3rd Edition

2013-01-02 Thread Conor Grevlos
I recently bought and starting reading the Python Programming for Absolute Beginners, 3rd Edition by Michael Dawson. I got through the first chapter fine, no problems. But when I got to the second chapter I realized that I did not know how to do the first programming lesson, Game Over 2.0 With

Re: [Tutor] Python Programming for Absolute Beginners, 3rd Edition

2013-01-02 Thread Matthew Ngaha
With the code not being on the page, I went to the directed website and got the downloads, yet I couldn't find the source code anywhere to be found. Am I missing something plainly obvious? what exactly did you download? all the source code for every chapter is included in the download

[Tutor] Python Programming for Absolute Beginner

2013-01-02 Thread Conor Grevlos
I downloaded the python source folder, with chapters 1 through 12 I think. But it just opens up the program that is already built, not one that shows me the code. Sent from my iPhone ___ Tutor maillist - Tutor@python.org To unsubscribe or change

Re: [Tutor] Python Programming for Absolute Beginner

2013-01-02 Thread Robert Sjoblom
On Jan 3, 2013 2:22 a.m., Conor Grevlos conorgrev...@yahoo.com wrote: I downloaded the python source folder, with chapters 1 through 12 I think. But it just opens up the program that is already built, not one that shows me the code. Open the files in an editor of your choice, don't run them.

Re: [Tutor] Python Programming for Absolute Beginner

2013-01-02 Thread Dave Angel
On 01/02/2013 08:20 PM, Conor Grevlos wrote: I downloaded the python source folder, with chapters 1 through 12 I think. But it just opens up the program that is already built, not one that shows me the code. Starting a new thread with each message is unproductive and impolite. If you

Re: [Tutor] Python Programming for Absolute Beginner

2013-01-02 Thread Ryan Macy
Conor Grevlos wrote: I downloaded the python source folder, with chapters 1 through 12 I think. But it just opens up the program that is already built, not one that shows me the code. Sent from my iPhone ___ Tutor maillist - Tutor@python.org To

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Siim Märtmaa
2009/7/1 Daniel Sato sato.ph...@gmail.com: I have been going through some Python Programming exercises while following the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with the first If exercise listed on this page:

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Emile van Sebille
On 6/30/2009 7:53 PM Daniel Sato said... I have been able to make the module quit after entering a password three times, but can't get it to quit right away after the correct one is entered. I know this is really basic, please forgive me. I have no programming experience and have just

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Michiel Overtoom
Daniel Sato wrote: am having some trouble with the first If Don't forget the colon at the end of the line. if condition: pass Greetings, -- The ability of the OSS process to collect and harness the collective IQ of thousands of individuals across the Internet is

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Wayne
On Tue, Jun 30, 2009 at 9:53 PM, Daniel Sato sato.ph...@gmail.com wrote: snip I have been able to make the module quit after entering a password three times, but can't get it to quit right away after the correct one is entered. I know this is really basic, please forgive me. I have no

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Robert Berman
1. Pay more attention to what ends an if statement (:) also watch your indentation. 2. Code is better than my commentary. This works the way you want it to work. password = qwerty guess = 0 count = 0 while count != 3: guess = raw_input(Enter your password: ) guess = str(guess)

Re: [Tutor] Python Programming exercise

2009-07-01 Thread bob gailer
Daniel Sato wrote: I have been going through some Python Programming exercises while following the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with the first If exercise listed on this page:

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Christian Witts
Daniel Sato wrote: I have been going through some Python Programming exercises while following the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with the first If exercise listed on this page:

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Dave Angel
Daniel Sato wrote: I have been going through some Python Programming exercises while following the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with the first If exercise listed on this page:

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Craig McDonald
On Wed, Jul 1, 2009 at 3:53 AM, Daniel Satosato.ph...@gmail.com wrote: I have been going through some Python Programming exercises while following the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with the first If exercise listed on this page:

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Alan Gauld
Daniel Sato sato.ph...@gmail.com wrote I have been able to make the module quit after entering a password three times, but can't get it to quit right away after the correct one is password = qwerty guess = 0 count = 0 while count != 3: guess = raw_input(Enter your password: )

Re: [Tutor] Python Programming exercise

2009-07-01 Thread Sander Sweers
2009/7/1 Daniel Sato sato.ph...@gmail.com: I have been going through some Python Programming exercises while following the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with the first If exercise listed on this page:

[Tutor] Python Programming exercise

2009-06-30 Thread Daniel Sato
I have been going through some Python Programming exercises while following the MIT OpenCourseWare Intro to CS syllabus and am having some trouble with the first If exercise listed on this page: http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statements#If_Exercises I have been able

[Tutor] Python Programming for the Absolute Beginner-OT

2008-05-28 Thread Tony Cappellini
A bit OT, but still within the realm of beginning Python... My co-worker whom has just started learning Python, bought this book in used condition. http://www.courseptr.com/ptr_detail.cfm?group=Programmingsubcat=Otherisbn=978%2D1%2D59863%2D112%2D8 Unfortunately it came without the CD, and the

[Tutor] Python Programming Tools

2008-04-14 Thread bhaaluu
A (mainly Java) programmer on a LUG mailing list asks: What is a good IDE [for Python] that has Python tools for: library management, code completion, debugging, documentation, help Since I'm not familiar with Java at all, I'm not sure how many of the things he is asking for, are even relevant

Re: [Tutor] Python Programming Tools

2008-04-14 Thread Jordan Greenberg
bhaaluu wrote: A (mainly Java) programmer on a LUG mailing list asks: What is a good IDE [for Python] that has Python tools for: library management, code completion, debugging, documentation, help Since I'm not familiar with Java at all, I'm not sure how many of the things

Re: [Tutor] Python Programming Tools

2008-04-14 Thread Alan Gauld
Jordan Greenberg [EMAIL PROTECTED] wrote What is a good IDE [for Python] that has Python tools for: library management, code completion, debugging, documentation, help Depending on what he wants in the way of Library Management then Pythonwin will give him all of that for free on

[Tutor] Python programming activities

2006-08-25 Thread Bob Gailer
Are you familiar with Kakuro (Cross Sums)? See http://www.kakuropuzzle.com/ for an example. In every such puzzle the top row and left column are all "black". I exclude these from the following "rules": A valid puzzle meets the following rules: 1 - black squares are symmetric around center.

Re: [Tutor] Python programming activities

2006-08-25 Thread Bob Gailer
Bob Gailer wrote: I amend the previous e-mail: ) this is in response to [EMAIL PROTECTED] desire for some programming assignments to work while commuting. ) I exclude these from the following rules refers just to rules 1 and 4. ) rule 3 - the path is vertical or horizontal, not diagonal. ) rule

Re: [Tutor] Python Programming Books

2006-07-15 Thread Matt Richardson
On 7/14/06, wesley chun [EMAIL PROTECTED] wrote: (LONG... you've been warned ;-) ) snip Heh, that was pretty long. I bought the first edition of Core Python and thought that it was well-written, but I didn't quite get it (stay with me, this gets better). It wasn't until after I had taken quite

Re: [Tutor] Python Programming Books

2006-07-14 Thread Matthew Webber
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grady Henry Sent: 14 July 2006 06:20 To: tutor@python.org Subject: [Tutor] Python Programming Books I have three books on Python programming, Learning Python by O'Reilly, Beginning Python by Hetland, and Python in a Nutshell

Re: [Tutor] Python Programming Books

2006-07-14 Thread Carroll, Barry
-- Date: Fri, 14 Jul 2006 10:11:19 +0100 From: Matthew Webber [EMAIL PROTECTED] Subject: Re: [Tutor] Python Programming Books To: 'Grady Henry' [EMAIL PROTECTED], tutor@python.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii

Re: [Tutor] Python Programming Books

2006-07-14 Thread Terry Carroll
On Thu, 13 Jul 2006, Grady Henry wrote: I have three books on Python programming, Learning Python by O'Reilly, Beginning Python by Hetland, and Python in a Nutshell by O'Reilly. Are these good (recommended) books? Any others that might be recommended? I don't know the Hetland book. I

Re: [Tutor] Python Programming Books

2006-07-14 Thread Andre Roberge
On 7/14/06, Terry Carroll [EMAIL PROTECTED] wrote: On Thu, 13 Jul 2006, Grady Henry wrote: I have three books on Python programming, Learning Python by O'Reilly, Beginning Python by Hetland, and Python in a Nutshell by O'Reilly. Are these good (recommended) books? Any others that might be

Re: [Tutor] Python Programming Books

2006-07-14 Thread wesley chun
I have three books on Python programming, Learning Python by O'Reilly, Beginning Python by Hetland, and Python in a Nutshell by O'Reilly. Are these good (recommended) books? Any others that might be recommended? Learning is a good book to learn from if you already know C. Beginning is a good

Re: [Tutor] Python Programming Books

2006-07-14 Thread Andre Roberge
On 7/14/06, wesley chun [EMAIL PROTECTED] wrote: while it would be a conflict-of-interest for me to give *my* opinion of the book, it appears to be pretty well-received (mostly by word-of-mouth) based on comments i've seen so far. :-) I don't know about others, but I think it might be of

Re: [Tutor] Python Programming Books

2006-07-14 Thread Alan Gauld
I don't know about others, but I think it might be of benefit if you could give an assessment that would include a description of the weaknesses of the book [I could be in a minority opinion here. People like Kent, Alan, Danny, etc. should probably comment.] I'm no expert since I've only

Re: [Tutor] Python Programming Books

2006-07-14 Thread johnsonv3
). However, I do not feel I have a full understanding at this point but expect to be getting close by the time I finish the first book listed above. - Original Message - From: Grady Henry [EMAIL PROTECTED] To: tutor@python.org Sent: Friday, July 14, 2006 1:19 AM Subject: [Tutor] Python

Re: [Tutor] Python Programming Books

2006-07-14 Thread wesley chun
(LONG... you've been warned ;-) ) andre wrote: I don't know about others, but I think it might be of benefit if you could give an assessment that would include a description of the weaknesses of the book I'm no expert since I've only browsed Wesley's book in a store a few times but

[Tutor] Python Programming Books

2006-07-13 Thread Grady Henry
I have three books on Python programming, Learning Python by O'Reilly, Beginning Python by Hetland, and Python in a Nutshell by O'Reilly. Are these good (recommended) books? Any others that might be recommended? ___ Tutor maillist -