Using the print() command will print anything between the brackets to the Debug area.
Enter the following code and run it:
// This will print the ratingResult to the Debug area
print(ratingResult)
The value of ratingResult appears in the Debug area:
When you're just starting out, feel free to use as many print() statements as you like. It's a really good way to understand what is happening in your program.