print(str(1)) # convert number to string
print(int("1")) # convert string to int
print(float(1)) # convert int to float
print(list('hello')) # convert string to list
print(tuple('hello')) # convert string to tuple
print(list((1, 2, 3))) # convert tuple to list
print(tuple([1, 2, 3])) # convert list to tuple
print(bool(1)) # convert a number to boolean
print(bool(0)) # convert a number to boolean
print(bool("")) # convert a string to boolean
print(bool("data")) # convert string to boolean
print(bin(10)) # convert an integer to a binary string
print(hex(10)) # convert an integer to a hex string
print(oct(10)) # convert an integer to an octal string
number = 5
print('The binary equivalent of 5 is:', bin(number))
# output - The binary equivalent of 5 is: 0b101
# "0b" indicates that this is a binary number
# 101 is the number (2**2 * 1) + (2**1 * 0) + (2**0 * 1) = 5