[Tutor] question about a exercise

daedae11 daedae11 at 126.com
Thu Jan 5 16:22:19 CET 2012

The exercise is:

Write a function which has 3 parameters. First parameter is a char, second parameter is a integer, third parameter is a integer.
The function would create a file which have following requests:
1. the length of the file is in accordance with the third parameter.
2. the content of the file must be random generated.
3. the time first parameter occurred in the content must be in accordance with second parameter.

please give me some hints. It would be better if you give me the code.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120105/a3f47afd/attachment.html>

More information about the Tutor mailing list