Re: Coding help

2022-02-24 Thread Jack Dangler
On 2/23/22 17:02, Richard Pullin via Python-list wrote: I know next to nothing about computer coding nor Python. However, I am working on a mathematical challenge in which coding is required to calculate and generate different potential solutions. Can anyone help? If so, please private messag

Coding help

2022-02-23 Thread Richard Pullin via Python-list
I know next to nothing about computer coding nor Python. However, I am working on a mathematical challenge in which coding is required to calculate and generate different potential solutions. Can anyone help? If so, please private message me and we can discuss in more detail. Many thanks, Richar

Re: Coding Help

2007-11-12 Thread Billows
Maybe AutoFlowchart can help you! AutoFlowchart is a excellent source code flowcharting tool to generate flowchart from source code. Its flowchart can expand and shrink. and you can pre-define the the width , height,Horizontal spacing and vertical spacing. Move and zoom is also very easy. I

Re: Coding Help

2007-11-10 Thread rishiyoor
On Nov 10, 3:20 pm, Carsten Haese <[EMAIL PROTECTED]> wrote: > > Maybe it would help you if you added an S6 that does nothing underneath > the "C2 is true" branch of your flow chart. > > -- > Carsten Haesehttp://informixdb.sourceforge.net Think I found a sequence of statements that would work if

Re: Coding Help

2007-11-10 Thread Carsten Haese
On Sat, 2007-11-10 at 11:54 -0800, [EMAIL PROTECTED] wrote: > Well, its not homework, and if you don't want to be a tutor, you can > be a consultant and earn a lot of money. > > Here is how I thought of solving this, but it does not work: > > While C0 is false > if C1 > if C2 > > now what?

Re: Coding Help

2007-11-10 Thread rishiyoor
Well, its not homework, and if you don't want to be a tutor, you can be a consultant and earn a lot of money. Here is how I thought of solving this, but it does not work: While C0 is false if C1 if C2 now what? -- http://mail.python.org/mailman/listinfo/python-list

Re: Coding Help

2007-11-10 Thread Florian Lindner
Marc 'BlackJack' Rintsch wrote: > On Sat, 10 Nov 2007 09:45:47 -0800, rishiyoor wrote: > >> I need help coding my flowchart. The C's are conditions, the S's are >> statements. The statements do not affect the conditions except for S5 >> which is an increment for C0. The left is True, and the righ

Re: Coding Help

2007-11-10 Thread Marc 'BlackJack' Rintsch
On Sat, 10 Nov 2007 09:45:47 -0800, rishiyoor wrote: > I need help coding my flowchart. The C's are conditions, the S's are > statements. The statements do not affect the conditions except for S5 > which is an increment for C0. The left is True, and the right is > False. > > I would probably use

Coding Help

2007-11-10 Thread rishiyoor
I need help coding my flowchart. The C's are conditions, the S's are statements. The statements do not affect the conditions except for S5 which is an increment for C0. The left is True, and the right is False. I would probably use a while loop (or for loop without S5) for the first condition C0,

Re: Coding help...very basic

2005-03-13 Thread Igorati
Hello all, I am still needing some help on this code, I have gone a bit further on it. Thank you for the help. I am trying to understand how to make the file searchable and how I am to make the deposit and withdrawl interact with the transaction class. class Account: def __init__(self, initia

Re: Coding help...very basic

2005-03-06 Thread Igorati
This is just a basic of what I have so far. The time , a class I will need and the print function. class Account: def __init__(self, initial): self.balance = initial def deposit(self, amt): self.balance = self.balance + amt def withdraw(self,amt): self.ba

Re: Coding help...very basic

2005-03-06 Thread Igorati
Thank both for the help. I understand that I should provide code, I am still trying to understand what to do, I don't want the work done, just some ideas of where to go, a general layout perhaps. Thank you. -- http://mail.python.org/mailman/listinfo/python-list

Re: Coding help...very basic

2005-03-06 Thread Diez B. Roggisch
Hi, people here usually tend not to be too helpful when asked to do an obvious homework task. So if you really want help, provide some code you've already written and that has actual problems. Then we're glad to help. But don't expect others to do your work. -- Regards, Diez B. Roggisch -- htt

Coding help...very basic

2005-03-06 Thread Igorati
I need some ideas of how to accomplish this task. I was told that I just need to save the input in a file and make the file searchable, nothing fancy like tying into SQL or Oracle. THis is a basic program and help is greatly appreciated: You've been given an assignment by your supervisor to progr

Re: Need some simple coding help

2005-03-03 Thread mx2k
thx again, this code is nearly doing as we want and we think to have figured out how to change it to meet our requirments. also thx for the tip using a heap... should there be more problems i'll post again! [mx] -- http://mail.python.org/mailman/listinfo/python-list

Re: Need some simple coding help

2005-03-02 Thread Terry Reedy
"mx2k" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Now you enter a value by which the initiative should be increased, > then adding reaction time to that value and then adding the result to > reaction time. Now soring again by lowest,next,'n'th, etc. and then > again showing th

Re: Need some simple coding help

2005-03-02 Thread Steven Bethard
mx2k wrote: ah, and sorry for that 'unreadable' code, but that was our first try of coding ever. we're working through the python documentaion right now - and - thanks to the post by STeVe we at last now that we have to construct a class for our purpose. Well, you don't *have* to -- it could be don

Re: Need some simple coding help

2005-03-02 Thread Steven Bethard
mx2k wrote: indeed, we're it is our combat timeline. we enter the initiative and reaction time, it should find out the lowest then the next, then the 'n'th etc. and shouw it on the screen like Next action 'Character Name1' at tick No 'Initiative1 2nd action 'Character Name2' at tick No 'Initia

Re: Need some simple coding help

2005-03-02 Thread mx2k
ah, and sorry for that 'unreadable' code, but that was our first try of coding ever. we're working through the python documentaion right now - and - thanks to the post by STeVe we at last now that we have to construct a class for our purpose. Thx for any help mx2k -- http://mail.python.org/mailm

Re: Need some simple coding help

2005-03-02 Thread mx2k
indeed, we're it is our combat timeline. we enter the initiative and reaction time, it should find out the lowest then the next, then the 'n'th etc. and shouw it on the screen like Next action 'Character Name1' at tick No 'Initiative1 2nd action 'Character Name2' at tick No 'Initiative2' [...

Re: Need some simple coding help

2005-03-01 Thread Steven Bethard
mx2k wrote: Hello @ all, we have written a small program (code below) for our own in-developement rpg system, which is getting values for 4 RPG-Characters and doing some calculations with it. now we're trying hard to find out how to get it working with 'n' Characters, so you will be asked to enter

Need some simple coding help

2005-03-01 Thread mx2k
Hello @ all, we have written a small program (code below) for our own in-developement rpg system, which is getting values for 4 RPG-Characters and doing some calculations with it. now we're trying hard to find out how to get it working with 'n' Characters, so you will be asked to enter a number a

Re: NOOB coding help....

2005-02-22 Thread bruno modulix
Igorati wrote: #This program will ask for a user to imput numbers. The numbers will then be calculated #to find the statistical mean, mode, and median. Finallly the user will be asked #if he would like to print out the answers. > numbers = [ ] print 'Enter numbers to add to the list. (Enter 0 to q

Re: NOOB coding help....

2005-02-22 Thread Brian van den Broek
Igorati said unto the world upon 2005-02-22 03:51: #This program will ask for a user to imput numbers. The numbers will then be calculated #to find the statistical mean, mode, and median. Finallly the user will be asked #if he would like to print out the answers. numbers = [ ] print 'Enter numbers

Re: NOOB coding help....

2005-02-22 Thread Igorati
#This program will ask for a user to imput numbers. The numbers will then be calculated #to find the statistical mean, mode, and median. Finallly the user will be asked #if he would like to print out the answers. numbers = [ ] print 'Enter numbers to add to the list. (Enter 0 to quit.)' def getint

Re: NOOB coding help....

2005-02-22 Thread Igorati
Thank you, that does help quit a bit. I am working on the corrections now. To the first poster... don't know what that meant. I thought I made my case understandable. Thank you again. I will work on that. I was attempting to open wade_stoddard... b/c that was my file I was working with, and I was t

Re: NOOB coding help....

2005-02-21 Thread Steven Bethard
Igorati wrote: list = [ ] a = 1 print 'Enter numbers to add to the list. (Enter 0 to quit.)' while a != 0 : a = input('Number? ') list.append(a) zero = list.index(0) del list[zero] list.sort() A simpler approach is to use the second form of the builtin iter function which takes a callab

Re: NOOB coding help....

2005-02-21 Thread James Stroud
Could you phrase this in the form of a question, like Jeopardy? On Monday 21 February 2005 08:08 pm, Igorati wrote: > Ok, this is what I have so far: > > #This program will ask for a user to imput numbers. The numbers will then > be calculated > #to find the statistical mean, mode, and median. Fi

NOOB coding help....

2005-02-21 Thread Igorati
Ok, this is what I have so far: #This program will ask for a user to imput numbers. The numbers will then be calculated #to find the statistical mean, mode, and median. Finallly the user will be asked #if he would like to print out the answers. list = [ ] a = 1 print 'Enter numbers to add to the