Page 56 - Programming the Raspberry Pi Getting Started with Python
P. 56
We have already discussed the situation where we want to convert a number into a string so that we
can append it to another string. Python contains some built-in functions for converting items of one
type to another, as detailed in Table 4-5.
Table 4-5 Type Conversions
Summary
Many things in Python you will discover gradually. Therefore, do not despair at the thought of
learning all these commands. Doing so is really not necessary because you can always search for
Python commands or look them up.
In the next chapter, we take the next step and see how Python manages object orientation.