str( ) useful?
Often at times you’ll want to combine numbers with a string to display useful information on the screen. This is made possible by converting those numbers to strings so they can be printed together. If you wanted to get a user’s height in centimeters, for example, they’d enter a number as a string, that would need to be converted to a number to be used in a formula, and then converted back to a string using
str( ) to be displayed in a sentence.