Jul-17-2018, 05:47 PM
(This post was last modified: Jul-17-2018, 05:47 PM by stanthaman42.)
(Jul-17-2018, 04:46 PM)ichabod801 Wrote: Well, find_maxPrimes returns an int. You need to convert that to a str before you can write it to a file, like the error says. You can do this with the str() built-in function.
Thank you for your help! How do I do that without changing a lot of the code that I already have?
I have tried to insert the str function but I guess I am placing it in the wrong line??
looking for some guidance on where to insert the str function. I have been trying to figure this out for a few days...