def word_to_binary(word):
    binary_result = ""
    for char in word:
        binary_char = bin(ord(char))[2:]
        binary_char = binary_char.zfill(8)
        binary_result += binary_char + " "

    return binary_result.strip()

word_to_encrypt = input("Enter a word to encrypt: ")
encrypted_result = word_to_binary(word_to_encrypt)
print(f"The binary representation of '{word_to_encrypt}' is: {encrypted_result}")

The binary representation of 'saaithvik' is: 01110011 01100001 01100001 01101001 01110100 01101000 01110110 01101001 01101011