<br><br><div class="gmail_quote">On Sun, Oct 25, 2009 at 10:10 PM, Luke Paireepinart <span dir="ltr">&lt;<a href="mailto:rabidpoobear@gmail.com">rabidpoobear@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div> <br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><div>
<div>2- in the final few lines where I assign an object to the class, I notice that a parameter was entered in the class name, &quot;Robot(D23)&quot;, although when defining the class I didn&#39;t put any arguments for it.</div>

</div></div></blockquote></div><div>Yes you did,<br>__init__ takes 2 parameters, &quot;self&quot; and &quot;name&quot;.  When constructing a new object via Robot(D23) you are implicitly passing &quot;self&quot; and you are explicitly passing &#39;D23&#39; as &quot;self&quot;.<br>
</div></div></blockquote><div><br>Correction,<br> When constructing a new object via Robot(<b>&#39;D23&#39;</b>) you are implicitly passing &quot;self&quot; and you are explicitly passing &#39;D23&#39; as &quot;<b>name</b>&quot;.<br>
<br>
</div></div>