on turning numbers into letters: you can first do the arithmetic with python, then: you can convert the integer or double value to a string: str(answer) and then parse through each number value in the string and replace it with letters for the ones you choose.... On Mon, Oct 13, 2008 at 7:23 PM, W W <[EMAIL PROTECTED]> wrote:
> If you hit reply to all, you'll send your response to the list, too. > > On Mon, Oct 13, 2008 at 2:05 PM, [EMAIL PROTECTED] < > [EMAIL PROTECTED]> wrote: > >> <snip> >> i am getting tons of error messages for the last one!!! i was wondering >> if we could use if loop inside another if loop >> > > Yes, you can use loops inside other loops. > > If you're getting errors, post the exact error message you get, for > instance when I type this: > > In [29]: import zanzubar > > I get this error: > --------------------------------------------------------------------------- > ImportError Traceback (most recent call last) > > C:\Documents and Settings\wayne\My Documents\mathbook\<ipython console> in > <module>() > > ImportError: No module named zanzubar > > (I'm using IPython, so your error will be formatted a little different) > HTH, > Wayne > > _______________________________________________ > Tutor maillist - [email protected] > http://mail.python.org/mailman/listinfo/tutor > >
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
