Mani because you can't do power operation between string and integer .
In second line of your code x is string value while 8 in int value so you cannot do mathematical operation between them.
Use type conversion here.
Your code should be like this:
print(7 > 5)
print(10 < 10)