2. What does the casting function int() do when it is applied to the string '42'?
It converts the string into an integer for use in calculations
It gives the Boolean True because the string is not empty
It converts the string into a real number with a decimal part
It joins the string to another string to make longer text