To display the text, write the actual name of the Result label, i.e., label2. Here, you are again using the arrow operator pointing to the text because you want to change the text and print the output.
To display the text, write the actual name of the Result label, i.e., label2. Here, you are again using the arrow operator pointing to the text because you want to change the text and print the output.