Answer:
The right answer is option 4: 2
Explanation:
Lists are used in Python to store elements of same or different data types.
Different functions are used in Python on List. One of them is count.
Count is used to count how many times a specific value occurs in a list.
The syntax for count is:
listname.count(value)
In the given code,
The output will be 2
Hence,
The right answer is option 4: 2
lst = short_names.split()
print(sorted(lst,reverse = True))
Answer:
Explanation:
temporal locality can be defined as: when a particular memory is referenced or accessed several times within a specific period of time. In the question, i think the variable that exhibit temporal locality are I, J and 0(all the variable). This is because the variable J and 0 are accessed several times within the loop. I would not have been part of it, but in the A[I][J]=B[I][0]+A[J][I], the variable "I" is also accessed in the addition. this is why it is part of the temporal locality.
Answer:
Steps to insert an index in a document
Explanation:
- open the document
- click on the <u>references</u> tab either above or below the document
- click the <u>mark entry</u> button
- select a word or group of words for the index
- click on the <u>mark entry</u> dialogue box
- format the page numbers in your index
- format the text for your index entry
- click <u>mark</u>
- click <u>mark all</u>