print(10.0 + 15)
print(3 + 5/2)
print(5 % 2)
print(5 // 2)
print(3 ** 2)
print(3 * 2 + 1)
print(3 * 2 ** 3)
print(2 ** 3 / 4 + 6)
print(40*4/20*5)
print(int(8.5/4))
print(int(8.5)/4)
print(int(7.5/2.0))


print(5 < 4)
print(8 == 9.0)

a = 3
b = 5
print(a != b)

print(2 >= 6)


print(not 0)
print((3 > 2) or (4 < 7))
print(4 > 4.1 and 3 != 5)

a = 8 > 6
b = 0 < 5
print(a and b)

a = 8 == 8.1
b = 2 >= 5
print(a or b)


x = [2.3, "dog", 5]
print(5 in x)

x = [2.3, "dog", "disk", "donkey", 6]
print("d" in x)

x = [2.3, "dog", 5]
print("dog" not in x)

x = [2.3, "dog", 5]
print(2.5 not in x)

x = "computer science"
print("mpu" in x)

x = "computer science"
print("sci" not in x)

print(not not (5 > 4))


my_string = "hello there"
if "th" in my_string:
    print('yes')
else:
    print('no')

if 5 > 8:
    print('greater')
else:
    print('less')

if 6 != 8 and 3 > 1:
    print('both')
else:
    print('none')

if 0:
    print('yes')
else:
    print('no')

if "a" in "there" or 6 % 2:
    print('true')
else:
    print('false')


my_list = ["cat", 2, "dog", 4]
if 2 in my_list:
    print('yes')
else:
    print('no')

my_list = ["cat", 2, "dog", 4]
x = 5 in my_list
if x:
    print('yes')
else:
    print('no')

my_list = ['dog', 'cat', 'worm', 'cow']
if 'dog' not in my_list:
    print('true')
else:
    print('false')

my_list = ['dog', 'cat', 'worm', 'cow']
if 'car' in my_list:
    print('true')
else:
    print('false')

my_list = ['dog', 'cat', 'worm', 'cow']
if 'w' in my_list:
    print('true')
else:
    print('false')


