Python types can be used like function names to perform conversion. For instance, int and float convert to integer or float, respectively, when used as function names. If the conversion of a string to a numeric type fails, Python will throw an exception, much as Java does.
The type str converts to string. This is particularly useful, since Python will not implicitly convert numbers to strings for the concatination operator, as Java does. Python throws a type error exception.