"Senthil Kumaran" <orsent...@gmail.com> wrote

Instead of

print '(Pole*RPM) product for various values of conductors/slot is: \n', polerpm

You will do

msg = '(Pole*RPM) product for various values of conductors/slot is: \n', polerpm

You would need to do a bit more since polerpm will not automatically be
appended to the string as it would in a print. So you probably want to use
a format string or at least convert polerpm to a string using str()

--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to