Frage im Vorstellungsgespräch bei Walt Disney Company

Write a code for cosine similarity in python function