<human>:  What is a good Python function to how do I access the text of xml using python.
<bot>:

# Enter the xml string
xml_string = "<root><child>Hello</child></root>"

# Calling the function
print((get_text_from_xml(xml_string)))

#Example Output
# root

#Remember to inspect code for bugs.