in reply to How can one use the print function to get the correct information?
Consult the print documentation to learn about the return value of the print function.
If you want to construct a string for further processing, don't use print. Just construct the string and return it.
|
|---|