How do I write a script to generate 10 random EVEN numbers and write them to a .txt file?

2013-07-08 Thread Kenz09
Hi, I have been given a task to do. I am a new to programming and Python. My task is to : -Create a function that is called from the main function, that accepts a number as a parameter and determines if the number is even or odd. the next one is, -To create another function that generates a

Re: How do I write a script to generate 10 random EVEN numbers and write them to a .txt file?

2013-07-08 Thread Dave Angel
On 07/08/2013 08:01 AM, Kenz09 wrote: Hi, I have been given a task to do. I am a new to programming and Python. My task is to : -Create a function that is called from the main function, that accepts a number as a parameter and determines if the number is even or odd. the next one is, -To

Re: How do I write a script to generate 10 random EVEN numbers and write them to a .txt file?

2013-07-08 Thread Joshua Landau
On 8 July 2013 13:27, Dave Angel da...@davea.name wrote: One of your classmates has already posted the question. However, you win the prize for a better subject line. Or are you the same student, changing your name and wasting our time by starting a new thread. Considering the body of the

Re: How do I write a script to generate 10 random EVEN numbers and write them to a .txt file?

2013-07-08 Thread Dave Angel
On 07/08/2013 09:10 AM, Joshua Landau wrote: On 8 July 2013 13:27, Dave Angel da...@davea.name wrote: One of your classmates has already posted the question. However, you win the prize for a better subject line. Or are you the same student, changing your name and wasting our time by starting