[Tutor] Calculator function silly questions

alan.gauld@bt.com alan.gauld@bt.com
Thu, 21 Jun 2001 12:56:47 +0100


------_=_NextPart_001_01C0FA49.3FD9F860
Content-type: text/plain; charset="ISO-8859-1"

print "Answer: %d" % (int(a)*int(b))
 
 That worked really well. My question is What is happening in the third
line?  
...
What exactly is importing a string  

Hmm, finger trouble caused a premature send... is that a medical condition?
 
I was suggesting comparing your tutor with mine. Its at:
 
http://www.crosswinds.net/~agauld <http://www.crosswinds.net/~agauld> 
 
The section you should look at first to answer your questions above 
is the "simple sequences" page.
 
Also the next one Raw Materials which covers types and conversions etc
 
HTH,
 
Alan G.

------_=_NextPart_001_01C0FA49.3FD9F860
Content-type: text/html; charset="ISO-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 5.00.3013.2600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<BLOCKQUOTE 
style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
  <DIV>
  <DIV><FONT size=2><EM>print "Answer: %d" % (int(a)*int(b))</EM></FONT></DIV>
  <DIV><FONT size=2><EM>&nbsp;</EM></FONT></DIV>
  <DIV><FONT size=2>&nbsp;That worked really well. My question is What is 
  happening in the third line?&nbsp;<SPAN class=640200212-21062001><FONT 
  color=#0000ff face="Courier New">&nbsp;</FONT></SPAN></FONT></DIV>
  <DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
  class=640200212-21062001>...</SPAN></FONT></DIV>
  <DIV><FONT size=2>What exactly is importing a string&nbsp;<SPAN 
  class=640200212-21062001><FONT color=#0000ff 
  face="Courier New">&nbsp;</FONT></SPAN></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001>Hmm, finger trouble caused a premature send... is that 
a medical condition?</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001>I was suggesting comparing your tutor with mine. Its 
at:</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001><A 
href="http://www.crosswinds.net/~agauld">http://www.crosswinds.net/~agauld</A></SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001>The section you should look at first to answer your 
questions above </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001>is the "simple sequences" page.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001>Also the next one Raw Materials which covers types and 
conversions etc</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001>HTH,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face="Courier New" size=2><SPAN 
class=640200212-21062001>Alan G.</SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C0FA49.3FD9F860--