"Moedeloos Overste" <[EMAIL PROTECTED]> wrote
> This is what I've been able to come up with so far:
>
> vDraws = input("How many times do you want to draw the lottery? :>")
input is considered a damngerous function because a
user could input malicious python code. Its better to use
raw_input an
You can use, '\n' with each value, that u are writing to the file.
eg. outstring = outstring + '\n'
\n stands for new line character.
I couldnt get the second question.
Regarding the third question, you can do this:
done = 0
fd = open(filename,'r')
while not done:
line = fd.readline()
Hi everybody,
I am new to python and trying to write a lottery program for a
schoolproject.
The program is supposed to draw the lottery any entered(user input) number
of times, then store the drawing results in a file. After drawings the user
should see (if he wants to) how many times each of