Newbie needs help to find bug in his first Perl program

Erik Max Francis max at alcyone.com
Sun Mar 25 13:00:22 EST 2001


Ron Stephens wrote:

> sixtwo = raw_input ("where does %s rank for %y ?" % (option6,
> criteria2))

There is no format specifier for %y.

> Can anyone see what is wrong with this? I have several lines like this
> and they all give me error messages.

In future it would be more useful if you actually stated _what_ error
message you are getting.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Nationalism is an infantile sickness.
\__/ Albert Einstein
    7 sisters productions / http://www.7sisters.com/
 Web design for the future.



More information about the Python-list mailing list