Re: [Tutor] I need help with my project

2018-12-03 Thread Treyton Hendrix
Awesome! Thanks to your help, I finally got my program done. Click here if you want to see it! > On Fri, Nov 30, 2018 at 5:14 PM Cameron Simpson wrote: > Avi and Alan and Sibylle, you're making this a bit hard on the OP > (Treyton). > > Yes he's supplied no context, but it is easy to make so

Re: [Tutor] I need help with my project

2018-11-30 Thread Cameron Simpson
Avi and Alan and Sibylle, you're making this a bit hard on the OP (Treyton). Yes he's supplied no context, but it is easy to make some suggestions. Each of yours suggests he design a much wider system (menu entry, web interface, some kind of GUI). All of which is (a) beyond him and (b) irrel

Re: [Tutor] I need help with my project

2018-11-28 Thread Avi Gross
us reasons. -Original Message- From: Tutor On Behalf Of Treyton Hendrix Sent: Tuesday, November 27, 2018 7:30 PM To: tutor@python.org Subject: [Tutor] I need help with my project If the user selected a sandwich, french fries, and a beverage, reduce the total cost of the order by $1.00

Re: [Tutor] I need help with my project

2018-11-28 Thread Alan Gauld via Tutor
On 28/11/2018 00:30, Treyton Hendrix wrote: > If the user selected a sandwich, french fries, and a beverage, reduce the > total cost of the order by $1.00. > > This is what I have to do and I don't know where to start. Neither do we because we don't know what you are talking about. There is no co

Re: [Tutor] I need help with my project

2018-11-28 Thread Bob Gailer
On Nov 28, 2018 3:43 AM, "Treyton Hendrix" <2hendri...@stu.bps-ok.org> wrote: > > If the user selected a sandwich, french fries, and a beverage, reduce the > total cost of the order by $1.00. > > This is what I have to do and I don't know where to start. You start by learning how to ask effective

Re: [Tutor] I need help with my project

2018-11-28 Thread Sibylle Koczian
Am 28.11.2018 um 01:30 schrieb Treyton Hendrix: If the user selected a sandwich, french fries, and a beverage, reduce the total cost of the order by $1.00. This is what I have to do and I don't know where to start. Well, you are lucky. I just had my first mind-reading lesson today, you are my

[Tutor] I need help with my project

2018-11-28 Thread Treyton Hendrix
If the user selected a sandwich, french fries, and a beverage, reduce the total cost of the order by $1.00. This is what I have to do and I don't know where to start. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

Re: [Tutor] I Need Help

2016-08-24 Thread Steven D'Aprano
On Wed, Aug 24, 2016 at 11:26:07AM +0100, Micheal Emeagi wrote: > yt = [1,2,3,4,5,6] > ft = [yt[0],yt[0]] > alpha = 0.5 > while len(ft) != len(yt) + 1: > ft.append(ft[1] + alpha * (yt[1] - ft[1])) > print(ft) > ft[1] += 1 > yt[1] += 1 > > print (ft) I think that your intention is

Re: [Tutor] I Need Help

2016-08-24 Thread Alan Gauld via Tutor
On 24/08/16 19:12, Micheal Emeagi wrote: > This is what it is suppose to be > [1, 1, 1.5, 2.25, 3.125, 4.06, 5.03] Oh good, it looks like my wild guess was right. :-) enjoy, -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow

Re: [Tutor] I Need Help

2016-08-24 Thread Micheal Emeagi
This is what it is suppose to be [1, 1, 1.5] [1, 1, 1.5, 2.25] [1, 1, 1.5, 2.25, 3.125] [1, 1, 1.5, 2.25, 3.125, 4.06] [1, 1, 1.5, 2.25, 3.125, 4.06, 5.03] The model below is what I want to implement.I chose alpha to be 0.5. The model below chose 0.3. What is Exponential Smoothing? - A typ

Re: [Tutor] I Need Help

2016-08-24 Thread Joaquin Alzola
>I want the elements of ft to increment by one while I use it to generate the >subsequent element. But for some reasons I don't understand, it keeps changing >the second element in Ft. >yt = [1,2,3,4,5,6] >ft = [yt[0],yt[0]] >alpha = 0.5 >while len(ft) != len(yt) + 1: >ft.append(ft[1] + al

Re: [Tutor] I Need Help

2016-08-24 Thread Alan Gauld via Tutor
On 24/08/16 11:26, Micheal Emeagi wrote: > forcast values. Ft is the forcast list whose length should be one element > greater than the Yt list. I want the elements of ft to increment by one > while I use it to generate the subsequent element. But for some reasons I > don't understand, it keeps ch

[Tutor] I Need Help

2016-08-24 Thread Micheal Emeagi
Hello Tutor, I am a newbie programmer trying to implement an exponential smoothing forcast using two list. Yt list has the Y values and Ft list has the forcast values. Ft is the forcast list whose length should be one element greater than the Yt list. I want the elements of ft to increment by one

Re: [Tutor] I need help with my homework. No, really....

2015-07-29 Thread Steven D'Aprano
Part 3... On Wed, Jul 29, 2015 at 04:16:58AM -0500, Lissa Hopson wrote: > following: > > 1. Load array x column-wise and array y row-wise > 2. Multiply x by y to compute array z > 3. Compute the sum of all elements in column 2 of array x and add it to the > sum of all elements in row 2 of y (the

Re: [Tutor] I need help with my homework. No, really....

2015-07-29 Thread Steven D'Aprano
Part 2... On Wed, Jul 29, 2015 at 04:16:58AM -0500, Lissa Hopson wrote: > Given x as an array of [5,3] and y as an array of [3,7] perform the > following: > > 1. Load array x column-wise and array y row-wise > 2. Multiply x by y to compute array z > 3. Compute the sum of all elements in column 2

Re: [Tutor] I need help with my homework. No, really....

2015-07-29 Thread Steven D'Aprano
On Wed, Jul 29, 2015 at 04:16:58AM -0500, Lissa Hopson wrote: > I'm taking a beginning Python course at Austin Community College. I'm also > taking two other project-based web programming courses. It's summer > semester, meaning we have eight weeks instead of the usual 16 to finish all > the requir

[Tutor] I need help with my homework. No, really....

2015-07-29 Thread Lissa Hopson
I'm taking a beginning Python course at Austin Community College. I'm also taking two other project-based web programming courses. It's summer semester, meaning we have eight weeks instead of the usual 16 to finish all the requirements. The semester ends Friday, July 131st. Yes, I am aware that I'm

Re: [Tutor] I need help with the following question

2013-09-10 Thread Dino Bektešević
> Message: 3 > Date: Tue, 10 Sep 2013 09:58:31 +0200 > From: Thabile Rampa > To: tutor@python.org > Subject: [Tutor] [Re:] I need help with the following question > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > On Aug 27, 2013, at 3:40 AM, isaac Eric wrote > > > > pr

Re: [Tutor] i need help with the following question

2013-08-27 Thread Don Jennings
On Aug 27, 2013, at 3:40 AM, isaac Eric wrote: > print "For a circle of radius %s the area is %s" % (radius,area) > Question: What is the purpose of %s ? Okay, so you're just getting started with python. We're happy to do some hand-holding, but we encourage you to think first. You've follow

Re: [Tutor] i need help with the following question

2013-08-26 Thread Alan Gauld
On 26/08/13 19:31, Joel Goldstick wrote: ___ From: JAMIE shelley To: Alan Gauld effectively just a knowledge base but one that can change the area of it's specialization. So, the original question about ways to output from python has nothing to do with your questions now? The proble

Re: [Tutor] i need help with the following question

2013-08-26 Thread Joel Goldstick
Author of the Learn To Program website > http://www.alan-g.me.uk/ > > ________ > From: JAMIE shelley > To: Alan Gauld > Sent: Monday, 26 August 2013, 18:47 > Subject: RE: [Tutor] i need help with the following question > > hello, not sure id thi

Re: [Tutor] i need help with the following question

2013-08-26 Thread ALAN GAULD
you  will need to figure out how. It's unlikely to be a  trivial exercise.   Alan Gauld Author of the Learn To Program website http://www.alan-g.me.uk/ > > From: JAMIE shelley >To: Alan Gauld >Sent: Monday, 26 August 2013, 18:47 >Subject: RE:

Re: [Tutor] i need help with the following question

2013-08-26 Thread Alan Gauld
On 26/08/13 09:29, isaac Eric wrote: describe different ways of displaying output using python! This smells like homework. We don;t do your homework for you although we will try to point you in the right direction. But you need to show that you are at least trying to figure it out for yourself.

Re: [Tutor] i need help with the following question

2013-08-26 Thread bob gailer
On 8/26/2013 4:29 AM, isaac Eric wrote: describe different ways of displaying output using python! I am glad you are asking for help. We encourage that. I agree with the other responses. Your question is clear to you, but not to us. We could play the guessing game and eventually discover what

Re: [Tutor] i need help with the following question

2013-08-26 Thread Chris Down
On 2013-08-26 01:29, isaac Eric wrote: > describe different ways of displaying output using python! Please, read this: http://www.catb.org/esr/faqs/smart-questions.html pgpmEMqlTiuCa.pgp Description: PGP signature ___ Tutor maillist - Tutor@python.or

Re: [Tutor] i need help with the following question

2013-08-26 Thread Don Jennings
On Aug 26, 2013, at 4:29 AM, isaac Eric wrote: > describe different ways of displaying output using python! Well, that's not really a question now, is it? I would be happy to help, but which part of the task is confusing for you? Take care, Don ___

[Tutor] i need help with the following question

2013-08-26 Thread isaac Eric
describe different ways of displaying output using python! ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] I need help on this program please

2013-07-10 Thread Ashley Fowler
This is what I have to do : On a standard telephone, the alphabetic letters are mapped to numbers in the following fashion:   A, B, AND C=2 D, E, AND F=3 G, H, AND I=4 J, K, AND L=5 M, N, AND O=6 P, Q, R, AND S=7 T, U, AND V=8 W, X, Y AND Z=9   Write a program that asks the user to enter a 10-char

Re: [Tutor] I Need Help With Using Tkinter/Console/Creating GUIs

2012-10-05 Thread tayo rotimi
Thank you Steven; I am now running. I just followed your hint. I later noticed the author was actually referring to an earlier version of Python, with the console not looking the same with Python 3.2.  Regards. Tayo.___ Tutor maillist - Tutor@python

Re: [Tutor] I Need Help With Using Tkinter/Console/Creating GUIs

2012-10-04 Thread Steven D'Aprano
On 05/10/12 07:30, tayo rotimi wrote: Hi, I recently started learning as a python programming 'absolute beginner'. I have Python 3.2 installed on my laptop, and I have learned to a point where I need to create GUIs. I understand from the text book I am reading that all I need to have access t

[Tutor] I Need Help With Using Tkinter/Console/Creating GUIs

2012-10-04 Thread tayo rotimi
Hi, I recently started learning as a python programming 'absolute beginner'. I have Python 3.2 installed on my laptop, and I have learned to a point where I need to create GUIs. I understand from the text book I am reading that all I need to have access to the Tkinter toolkits in a window-OS is

Re: [Tutor] I Need Help - further details now provided.

2012-09-09 Thread Matthew Ngaha
> What instructions are you talking about? > > I'm sure that was very clear in your head when you wrote that, but think > about how it looks to us. We could be reading your email hours, days, > even months later. We see your comment about complicated instructions, > but all context is lost and we h

Re: [Tutor] I Need Help - further details now provided.

2012-09-09 Thread Steven D'Aprano
On Sun, Sep 09, 2012 at 08:20:19PM +0100, Matthew Ngaha wrote: > SORRY i wrote to you not the mailing list:( > > im a beginner myself, and those instructions seem very complicated for > me. What instructions are you talking about? I'm sure that was very clear in your head when you wrote that, b

Re: [Tutor] I Need Help - further details now provided.

2012-09-09 Thread Walter Prins
Hi, On 9 September 2012 23:02, Alan Gauld wrote: > 2) Try downloading and installing 32bit Python. 64bit windows can run the 32 > bit version too and it might install more successfully. But I'd try > ActiveState first - its free but ISTR you need to register. Just to +1 this, and to confirm that

Re: [Tutor] I Need Help - thank you all, its now done

2012-09-09 Thread tayo rotimi
Thank you, Matthew and all, I have just installed the Python IDLE. Now I an ready to begin learning how to write programs. That means you may see more questions from me as I am ready to leverage on your experiences. I appreciate everyone who has helped and guided me in one way or the other. Re

Re: [Tutor] I Need Help - further details now provided.

2012-09-09 Thread Alan Gauld
On 09/09/12 19:03, tayo rotimi wrote: * which installer link you click on - on the page look for and click on the following:Python 2.7.3 Windows X86-64 Installer (Windows AMD64 / Intel 64 / X86-64 binary [1]

Re: [Tutor] I Need Help

2012-09-09 Thread tayo rotimi
Hi Matthew, The link you provided, http://www.programgames.com/page4.html, leads to where I can only download the book but not the software. I will appreciate if you could click on it to check again and provide me with further guide. Regards. Tayo. SORRY i wrote to you not the mailing list:(

Re: [Tutor] I Need Help - further details now provided.

2012-09-09 Thread Matthew Ngaha
SORRY i wrote to you not the mailing list:( im a beginner myself, and those instructions seem very complicated for me. But i did install Python and everything included with no problem. You need at least Python 3.1 for this book we have. its what the author recommended. version 2.7 as you have s

Re: [Tutor] I Need Help - further details now provided.

2012-09-09 Thread tayo rotimi
-- Message: 4 Date: Sat, 8 Sep 2012 19:06:17 +0100 From: Matthew Ngaha To: tutor@python.org Subject: Re: [Tutor] I need Help Message-ID:     Content-Type: text/plain; charset=ISO-8859-1 this is the same book i bought a few months ago to get me started. the instructions i r

Re: [Tutor] I need Help

2012-09-08 Thread Matthew Ngaha
this is the same book i bought a few months ago to get me started. the instructions i remember where clear for windows. if there is a problem with the download files on the site, the author has the files on his own site also: http://www.programgames.com/page4.html save or run the file, once insta

Re: [Tutor] I need Help

2012-09-08 Thread Steven D'Aprano
Hi Tavo, My responses are interleaved between your comments, shown with > markers. On 09/09/12 02:24, tayo rotimi wrote: Hi, I am a new beginner/learner of Python. Welcome and good luck! My first challenge is that I am unable to install the Python IDLE after downloading it from Python we

[Tutor] I need Help

2012-09-08 Thread tayo rotimi
Hi, I am a new beginner/learner of Python. My first challenge is that I am unable to install the Python IDLE after downloading it from Python website. When I hit on the 'run' button, i got the error message below: "This installation package could not be opened. Contact the application vendor

Re: [Tutor] i need help with a code

2010-05-24 Thread Alan Gauld
"patricia welch" wrote here is what I need and I am completely stumped on what to do. I'm not quite sure what you are asking us here? This appears to be a homework excercise? If so the rules of the list mean we won't give you an solution but we will try to point you towards the answer.

[Tutor] i need help with a code

2010-05-24 Thread patricia welch
here is what I need and I am completely stumped on what to do. I ususally do not have a problem doing this. but this one is just killing me. Programming a Personal Budget Program Write a program for a personal budget that satisfies these conditions: . The program should have the following comma

Re: [Tutor] I need help to the Python blackjack code

2009-07-20 Thread Wayne
2009/7/20 GAONEO > Hi > > This is the first code that I have programed. I think there is > something wrong with it. It is not a loop and computer seems wont bust. In > the game, > > ace will be fixed as low (value=1). And can you write documentation > comments for the first 39lines. > > yo

[Tutor] I need help to the Python blackjack code

2009-07-20 Thread GAONEO
Hi This is the first code that I have programed. I think there is something wrong with it. It is not a loop and computer seems wont bust. In the game, ace will be fixed as low (value=1). And can you write documentation comments for the first 39lines. kind regards Neo Gao _

Re: [Tutor] i need help please read (fwd)

2006-04-01 Thread Alan Gauld
Tom, I'm still struggling, but based on what Danny Yoo deduced I'll assume you are talking anbout a dialog box or window of some sort rather than drawing a graphical box? > ok ill tell you want im doing i want to make a box using python that if > you > put the box over a number on the computer s

Re: [Tutor] i need help please read (fwd)

2006-03-24 Thread Alan Gauld
> Try to ignore the misspellings for the moment. I'm think he's really > trying to say: > >How do you get Python to make a dialog box pop up? You know, like >asking a question or something. How do you connect the buttons up so >it does something when you press it? Aha! Now I see it

Re: [Tutor] i need help please read (fwd)

2006-03-24 Thread Danny Yoo
> > you no like ask you a question or somthin. > > Danny was simply asking for more information so that we can > answer the question in a useful way. Hi Alan, But you're misinterpreting that part of message. Let's look back at the message: """no it is not homework, i havent started y idea y

Re: [Tutor] i need help please read (fwd)

2006-03-24 Thread Alan Gauld
> no it is not homework, i havent started y idea yet but my question for now > basicly say how do you get python to make a box pop up? You can draw a box in many different ways, but its not clear what kind of box you want to pop-up, nor what you mean by pop-up. For example are you talking about a

Re: [Tutor] i need help please read (fwd)

2006-03-23 Thread Kent Johnson
> From: Tom Bachik <[EMAIL PROTECTED]> > To: Danny Yoo <[EMAIL PROTECTED]> > Subject: Re: [Tutor] i need help please read > > no it is not homework, i havent started y idea yet but my question for now > basicly say how do you get python to make a box pop up? you n

Re: [Tutor] i need help please read (fwd)

2006-03-23 Thread Danny Yoo
[forwarding to tutor] -- Forwarded message -- Date: Thu, 23 Mar 2006 15:15:11 -0800 From: Tom Bachik <[EMAIL PROTECTED]> To: Danny Yoo <[EMAIL PROTECTED]> Subject: Re: [Tutor] i need help please read no it is not homework, i havent started y idea yet but my ques

Re: [Tutor] i need help please read

2006-03-22 Thread Danny Yoo
On Wed, 22 Mar 2006, Tom Bachik wrote: > ok does anyone know how to righ a script were a box pops up then if it > goes over a number on the screen it pops up in the box become the input > number so you can alter the number that popped up in the box? if you do > can you right it and send it to me

[Tutor] i need help please read

2006-03-22 Thread Tom Bachik
ok does anyone know how to righ a script were a box pops up then if it goes over a number on the screen it pops up in the box become the input number so you can alter the number that popped up in the box? if you do can you right it and send it to me and  if you cant doit all but know how i can do p