Build your intuition. Click the correct answer from the options.
Question 1
What is a suitable Python function that will transform the input vector containing two different strings, “cat” and “dog”, into integers 0 and 1?
Click the option that best answers the question.
- map()
- len()
- round()
- vars()