#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    18
    Rep Power
    0

    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..
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,648
    Rep Power
    4248
    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
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    27
    Rep Power
    0
    Possible ideas:

    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

    Hint:
    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)

    Hints:
    Use a wxPanel and override the wxEVT_PAINT event.
    In the event handler, perform the plotting using the wxPaintDC object methods wxDrawLine, etc.
  6. #4
  7. A wanna-be guru of some sort
    Devshed Novice (500 - 999 posts)

    Join Date
    Sep 2004
    Location
    Either online or offline
    Posts
    625
    Rep Power
    20
    Least common multiple, greatest common divisor, Farenheit/Celsius converter...

IMN logo majestic logo threadwatch logo seochat tools logo