Why not, it looks like a good idea :)
Gribouillis
Posting Maven
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
Gribouillis
Posting Maven
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
I mean how could I do this?
Pass a parameter to the function, and return the desired result as many times as you want. You can start at "A first program" here and also here and here . No on wants to do this for you as it is simple and is something you can do for yourself, and should understand if you are going to write programs.
woooee
Nearly a Posting Maven
2,454 posts since Dec 2006
Reputation Points: 777
Solved Threads: 714
docs.python.org/py3k/tutorial/index.html
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852
What would the syntax be to do that?
This has just become a "keep-asking-questions-until-someone-codes-it-for-you" thread.
woooee
Nearly a Posting Maven
2,454 posts since Dec 2006
Reputation Points: 777
Solved Threads: 714