<div class="gmail_quote">On Thu, Jan 5, 2012 at 10:22 AM, daedae11 <span dir="ltr">&lt;<a href="mailto:daedae11@126.com">daedae11@126.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>





<div style="MARGIN:10px">
<div>The exercise is:</div>
<div> </div>
<div>Write a function which has 3 parameters. First parameter is a char, second 
parameter is a integer, third parameter is a integer.</div>
<div>The function would create a file which have following requests:</div>
<div>1. the length of the file is in accordance with the third 
parameter.</div>
<div>2. the content of the file must be <span>random 
generated.</span></div>
<div><span>3. the time first parameter occurred in the content must be in 
accordance with second parameter.</span></div>
<div><span></span> </div>
<div><span>please give me some hints. It would be better if you give me the 
code.</span></div>
<div> </div>
<hr style="WIDTH:210px;min-height:1px" color="#b5c4df" size="1" align="left"><span class="HOEnZb"><font color="#888888">

<div><span>daedae11</span></div></font></span></div>
<br>_______________________________________________<br>
Tutor maillist  -  <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
<br></blockquote></div>You&#39;re likely going to get patronized for asking for the code as if you&#39;re asking for someone to do your homework problem for you.<br>-- <br>Alexander<br>