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:
B-malware
Explanation:
I do tech and i help work on computars.
Answer:
The program to this question can be described as follows:
Program:
def ilovepython(): #defining a method
for i in range(3): #defining a loop that print messasge three times
print('I love Python')#print messasge
ilovepython() #calling the method
Output:
I love Python
I love Python
I love Python
Explanation:
Description of the python program can be described as follows:
- In the above Python program, a method "ilovepython" is defined, inside the method a for loop is used, inside the loop print method is used, that print the message "I love Python".
- In python for loop is used to iterate over series and we can execute a set of statements with the loop, tuple, series, once for each element in the list.
Answer:
u can see the answer in this picture