Fun... One comment on:<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><pre><i> print "I'm thinking of a number between 1 - 100. Can you guess what it is?"<br>
<br> random_num = random.randint(1, 100)<br><br> guess = int(input("Type a number between 1 - 100: "))<br><br>
error = guess < 1, guess < 100<br><br></i></pre></blockquote><div>I think that error was put in there so you can handle errors correct, one way to add some error handing there is add something like:</div><div><br>
</div><div> while True:</div><div><meta charset="utf-8"><div><div><br></div><div> guess = int(input("Type a number between 1 - 100: "))</div><div> if guess < 1 or guess > 100:</div><div> print "%s out of range try again" % guess</div>
<div> continue</div><div><br></div><div> break</div></div></div><div><br></div><div><div><br></div></div><div> - Brian</div></div>