What's the difference between putting a str() command and not putting a str() command?
For example, I have these code below:
- pi = 3.14
- print str(pi)
- "pi" = 3.14
- print pi
Could someone please explain me the difference between these two since the output is the same? Thanks!