[Tutor] input loop

Dave Angel davea at davea.name
Mon Sep 2 01:19:37 CEST 2013


On 1/9/2013 17:53, Nick Wilson wrote:

> Hi,

Welcome.

Please start over with a text message.  Your html email is useless to
me, and probably most people on this newsgroup.


    5      
10.00</div><div>----------------------------------</div><div>Total
cost:                
 10.00</div><div>==================================</div></div><div><br></div><div>**(This
is all even when displayed in Wing101)</div><div><br></div><div>So
thats all fine, but I'm wanting muiltiple more rows printed underneath
with other shares and their prices etc. </div><div>Getting stuck
on that, I know i'll need a for loop to iterate over the input but
still wanting to get some help.</div><div><br></div><div>here's the
rest of the code so
far.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>PROMPT_FOR_COMMAND
= 'Enter command: '</div><div>PROMPT_FOR_CODE = 'Enter share code to
add: '</div><div>PROMPT_FOR_PRICE = 'Enter share price:

-- 
DaveA



More information about the Tutor mailing list