A program often receives a value of one type and needs another: text typed by a person that has to become a number, a number that has to go into a message. This lesson shows how to ask what type a value has, and how to convert it, both when Python does it for you and when you do it yourself.
More lessons in Complete Python Programming