Sort ascending would be the correct one, since you are going from the lowest value to the highest
Hard disk Drive, random access memory, USB flash memory
Cross-platform.
--------------------
Text = “ I really like owls. Did you know that an owls eyes are more than twice as big as the eyes of other birds of comparable weight? And that when an owl partially closes its eyes during the day, it is just blocking out light? Sometimes I wish I could be an owl.
word = ‘owl’
texts = text.lower()
owlist = list(texts.split())
count = text.count(word)
num = [owlist, count] #num has no meaning just random var
print(num)
Alter in anyway you want so that you can succeed. ✌
Answer:
17.0
Explanation:
after first loop numA = 0.0 + 2 = 2.0
after second loop numA = 2.0 + 5 = 7.0
after third loop numA = 7 + 10 = 17.0