<br>
<br><font size=2><tt>Glen Clark wrote on 11/02/2010 03:07:18 PM:<br>
<br>
in general you should use raw_input instead of input.</tt></font>
<br>
<br><font size=2><tt><SNIP></tt></font>
<br><font size=2><tt>> confirmed = int(input("Are you happy with
this? (y/n): ")<br>
> </tt></font>
<br>
<br><font size=2><tt>you are missing a closing parenthesis above, and converting
a string (y,n) to and int<br>
> if confirmed == "y":<br>
</tt></font>
<br><font size=2><tt>you are comparing an int and a string here, probably
not what you want (see above).</tt></font>
<br>
<br><font size=2><tt>> for In in range(0,NumItems):<br>
> print(Entries[In] + ": " + str(In))<br>
> change = int(input("Which item would you like to
change: ") <br>
</tt></font>
<br><font size=2><tt>again, you are missing a closing parenthesis above</tt></font>
<br>
<br><font size=2><tt>> Entries[change]=str(input("Please
enter a nem name: ")<br>
</tt></font>
<br><font size=2><tt>again, you are missing a closing parenthesis above</tt></font>
<br>
<br><font size=2><tt>> else:<br>
> #do nothing<br>
</tt></font>
<br><font size=2><tt>you need to put pass here, you can't just have a comment
in a block</tt></font>
<br><font size=2><tt>> <br>
> print(Entries)<br>
> <br>
</tt></font>
<br>
<br><font size=2><tt>Chris<br>
</tt></font>