To determine whether a number is greater than another number, use the greater than (>) operator:
print(5 > 5) //false print(5 > 6) //false print(6 > 5) //true
You can also use the greater than or equal to (>= ) operator:
print(7 >= 7) //true print(7 >= 8) //false print(9 >= 8) //true
The > and >= operators do not work with the String type.