Hi all,
I am just starting out with coding and playing with basic If statements that output an answer based on a number generator but It doesn't seem to want to work - the picture is the snippet of code that is being a problem. Any help would be great.

many thanks.