.descendants
head_tag.contents
# [<title>The Dormouse's story</title>]for child in head_tag.descendants:
print(child)
# <title>The Dormouse's story</title>
# The Dormouse's storylen(list(soup.children))
# 1
len(list(soup.descendants))
# 25Last updated