keyairiababypayne keyairiababypayne 19-10-2022 Arts Answered 2. What does == do in Python? It assigns a value to a variable. It assigns a variable to a value. It tests for equality. It creates a new logical operator.