python how to check string equality not code example Example: python string equality str = "hello" print("hello" == "hello") # prints True