human
Write me a code to program to convert KiloBytes to Bytes and Bits and the other steps required given the following:
Program to convert KiloBytes to Bytes and Bits | Function to calculates the bits.
calculates Bits 1 kilobytes ( s ) = 8192 bits.
Function to calculates the bytes.
calculates Bytes 1 KB = 1024 bytes.
Driver code"
How can the above be solved in Python?
assistant
#Here is code to program to convert KiloBytes to Bytes and Bits and the other steps required.
 def Bits ( kilobytes ) :
	Bits = kilobytes * 8192
	return Bits
def Bytes ( kilobytes ) :
	Bytes = kilobytes * 1024
	return Bytes
if __name__ == " _ _ main _ _ " :
	kilobytes = 1
	print ( kilobytes , " Kilobytes ▁ = " , Bytes ( kilobytes ) , " Bytes ▁ and " , Bits ( kilobytes ) , " Bits " )