Now let’s look at str(), which is a little less straightforward. The str() method turns non-strings into strings!
so according to this if i do
pi = john
then i should get output
but it is showing error
why is this showing error as i have converted pi into string