Cosine Similarity Function Python Syntax Exercises