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 A
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 code
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 emerged
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 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 f
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
+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
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
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 - Tutor@python.or
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
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.
# Fortune
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
wrote:
> On 27/08/14 14:40, Jake wrote:
>
>> To whom it may concern,
>> My name is Jake and I have recently sta
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 con
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()
if
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 us
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 fo
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 rig
On Wed, Sep 11, 2013 at 7:59 PM, Oscar Benjamin
wrote:
> On 11 September 2013 10:48, Amit Saha 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 a
On 11 September 2013 10:48, Amit Saha 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 look at these vide
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 si
Hi Katie,
On Wed, Sep 11, 2013 at 11:01 AM, Katie 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 in-depth knowledge of
> c
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
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
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
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
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
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 t
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
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.
__
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
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 to
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 uns
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 ac
On Jan 3, 2013 2:22 a.m., "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.
Open the files in an editor of your choice, don't run them.
_
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 subs
> 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
__
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
"Daniel Sato" 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: ")
guess = str
2009/7/1 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_Statement
On Wed, Jul 1, 2009 at 3:53 AM, 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:
>
> http://en.wikibooks.org/wiki/Python_Progr
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:
http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statements#If_Ex
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:
http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statements#If_Exer
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:
http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statements#If_Exer
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(gu
On Tue, Jun 30, 2009 at 9:53 PM, Daniel Sato 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
> entered. I know this is really basic, please forgive me. I have no
> programming experience an
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
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 started
2009/7/1 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_Statement
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
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=Programming&subcat=Other&isbn=978%2D1%2D59863%2D112%2D8
Unfortunately it came without the CD, and the p
"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 o
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
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 f
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.
) rul
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. (th
On 7/14/06, wesley chun <[EMAIL PROTECTED]> wrote:
> (LONG... you've been warned ;-) )
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 a
(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
nloaded free). 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:
Sent: Friday, July 14, 2006 1:1
> 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 on
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
> 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 i
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 other
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 boo
es must always be envisioning cathedrals.
-Quarry worker's creed
> --
> Date: Fri, 14 Jul 2006 10:11:19 +0100
> From: "Matthew Webber" <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] Python Programming Books
> To: "'Grady Henry'
idioms.
-Original Message-
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,
"B
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 - Tutor@p
71 matches
Mail list logo