Which function converts a string to an integer?

Explanation:

int() converts a string or float to an integer.

Explore more in Computer Science: