main.py
def convert_unicode_to_dna_simple(text_input):
    """
    converts unicode string input to DNA string, only uses base-2

    :param text_input: String
    :return: String
    """
    dna_string = ''
    for character in text_input:
        binary_value = str(bin(ord(character)))[2:].zfill(20)
        print(binary_value)
        for c in range(0, len(binary_value), 2):
            dna_string += transcoding[int(binary_value[c]) * 2 + int(binary_value[c + 1])]
    return dna_string

    converts unicode string input to DNA string, only uses base-2

    :param text_input: String
    :return: String
    
converts unicode string input to DNA string, only uses base-2
converts unicode string input to DNA string only uses base - 2
def convert_unicode_to_dna_simple(text_input):
    dna_string = ''
    for character in text_input:
        binary_value = str(bin(ord(character)))[2:].zfill(20)
        print(binary_value)
        for c in range(0, len(binary_value), 2):
            dna_string += transcoding[int(binary_value[c]) * 2 + int(binary_value[c + 1])]
    return dna_string
def convert_unicode_to_dna_simple ( text_input ) : dna_string = '' for character in text_input : binary_value = str ( bin ( ord ( character ) ) ) [ 2 : ] . zfill ( 20 ) print ( binary_value ) for c in range ( 0 , len ( binary_value ) , 2 ) : dna_string += transcoding [ int ( binary_value [ c ] ) * 2 + int ( binary_value [ c + 1 ] ) ] return dna_string
converts unicode string input to DNA string, only uses base-2
converts unicode string input to DNA string only uses base - 2
"""
    converts unicode string input to DNA string, only uses base-2

    :param text_input: String
    :return: String
    """
None
text_input
None