'''
a = 1
b = 2
c = 3.4
d = True
f = 'Hello'
g = 'World'

print(a+b)
print(a+2)
print(b+c)
print(c+2)
print(f+g)

# Try below
# print(d+f)
# print(a+f)
#print(str(a) + f)
# type(f)
# now try print(a+d)
'''

print(2+3)
print(8/2)
print(5//2)  # floor division that gives you quotient
print(10-11)
print(8+2*3)
print((8+2)*3)
print("square", 2*2)
print("cube", 2*2*2, 2**3)
print("modules", 8%2, 8%3)
k = 'Hellow World'
print(k)
#k1 = 'Nothing's happening' '
#print(k1)

k2 = 'Nothing\'s happeing'
print(k2)
k3 = "Nothing's happening"
print(k3)
print(k2*2) # print a string 2 times and this only works with strings and not numbers where actual calculation will happen
print('10' *2)

print('C:\kpt\nbc')  # new line \n
print('C:\\kpt\\nbc')
print(type(1))
print(type(int))
a,b=5,6  #assignment operator
print(a<b) # comparison operator
x=2
x=x+2 # x+=2
x+=2 #assignment operator
print(x)
print(a<4 or b>5) #logical operators
Y = True
Z = not Y #not logical operator

# convert the number to binary format
print(0b11111) # number
print(bin(x)) # binary
print(oct(25)) #octal
print(hex(25)) #hex
#convert binary to decimal
#0b11101 - here 0b represents binary, focus on 11101, 2(4)2(3)2(2)2(1)2(0), 16+8+4+1 = 29, we calculate the power of 2 and ignore the 0 values of the number
print(0b11101)

print('hello' + '->' + 'stringvalue')
