A class for storing a number of integers and real numbers. Each instance of the class can have a different number of ints and floats in any combination. For example: 3 ints, a float and another int.
The instance creation must be simple and no more than one line of code.
For example: lp = ListParams([int, int, int, float, int], [1, 2, 3, 4.4, 5])
The API should offer the following methods:
Accessor functions to read and write each of the stored numbers as numbers - int or float.
For example: lp = lp
An accessor function to set the numbers from a space-delimited string
For example: lp.set("9 8 7 6.6 5")
An accessor function to get the list of numbers as a space delimited string
For example: print lp.put # prints 9 8 7 6.6 5
wat program u usE?
hi Is there supposed to be a question or this just one of those misplaced informational posts? Good Guidelines For non-English speaking people here? Sticky ?.......... ...
that will be great thanks for updating us
Yeah that thread is a great idea. It comes down to difficulty, but the easier, less structured languages lead to bad habits that a programmer can pick up. Eg I do VB.Net in college which makes me forget to put semicolons ...
I am thinking strange we don't have our forum till now. Well, in the old My Opera foruns, the portuguese forum also took some time to be created, so i guess it's just a matter of hava patience.
You have a problem or a question but perhaps english is not a very good language for you to make yourself understood in. Try this: Post your question in the best possible english that you ...
Well, i am opening this topic as an official request for the (re)creation of the portuguese language forum. The old one was kinda active and people seems to be missing it. If you are in favor of that, please ...
Hey Guys,I've set up a YouTube channel where I plan to make tutorials on Linux, configuring the Raspberry Pi and Programming. More on that here http://www.raspberrypi.org/?page_id=43&mingleforumaction=viewtopic&t=922Will ...
I just wanted to let everyone know that one of my most important goals for this forum is to bring back the popular gallery (and Downloads) section we once had before (at MDCF/ATRACLife). I know that many of ...
All All photos shot with a Canon D30 and tweaked in Photoshop. Let me know what you think. http://www.pbase.com/rmurtha/art Rick Murtha