September 7th, 2004, 05:22 PM
some simple ideas?
Can anyone give me some ideas for some simple programs (not too simple though That I could attempt to write. Mathmatically oriented would be good, but it doesn't matter..
September 7th, 2004, 06:09 PM
Sieve of Eratosthanes
Fibonacci Number Generator
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
September 7th, 2004, 09:03 PM
1. Prime number generator
2. Perform a linear regression (find the overrall slope) of a function defined by a list of coord. pairs (i.e. [(0,12),(1,10),(2,5)...])
3. Interractive prompt that takes calculation inputs from user (i.e. "1+1") and returns the result
You can use os.stdin and os.stdout for input and output.
4. Using the wxPython package, do a simple plot of the values in a list or coord. pairs (see #2)
Use a wxPanel and override the wxEVT_PAINT event.
In the event handler, perform the plotting using the wxPaintDC object methods wxDrawLine, etc.
September 8th, 2004, 08:58 AM
Least common multiple, greatest common divisor, Farenheit/Celsius converter...