[Tutor] calculator will not multiply

David david at abbottdavid.com
Sun Jan 18 17:10:50 CET 2009


jadrifter wrote:

> It worked fine for me.  Don't forget to put quotes around the * sign or
> the shell will substitute.
> 
> so:
> ./calc.py 2 '*' 9
> or:
> ./calc.py 2 "*" 9
> or:
> ./calc.py 2 \* 9
> but not:
> ./calc.py 2 * 9
> 
> John Purser
> 
> 
> 
Thanks Kent and jadrifter, that explains that!

Also thanks for the tips Angre :)

-- 
Powered by Gentoo GNU/LINUX
http://www.linuxcrazy.com
pgp.mit.edu



More information about the Tutor mailing list