<span>subnet mask is used to identify the network portion and the host portion of an ip address.</span>
B. Television. It provided <span>instant communication and information to a massive audience for the first time in 1927.
Hope this helps :)</span>
Answer:
Following are the code to this question:
file= open('book.txt') #open file
li= {} #define an empty list
for lines in file: # use for loop Split file data into words
d= lines.lower().strip(' !?').split() #define variable d that Add it to map
for val in d: #define loop to store data
if val not in li: #check value is not in list
li[val] = 0 #define list and assign value in 0
li[val] = li[val] + 1 #Sort the book data and add its value
m = sorted(li.items(),key = lambda x : -x[1]) #sorted value into the m variable
print(m[:10]) #print value
Output:
please find the attachment.
Explanation:
In the given python code first, we open the file "book.txt", in next line, an empty list is defined, that uses the for loop which can be described as follows:
- In the for loop is used, that reads the file data, and defines a variable "d", that stores the values into the map.
-
In the next line another loop is used, that check file values, if values are the same type so, it adds values and writes it.
- In the last line, m variable is used, that sorts the values and use the slicing to print its value.
Answer: Once Upon a Time in the West (1968) PG-13 | 165 min | Western. ...
Cinema Paradiso (1988) R | 155 min | Drama. ...
Blade Runner (1982) R | 117 min | Action, Sci-Fi, Thriller. ...
2001: A Space Odyssey (1968) G | 149 min | Adventure, Sci-Fi. ...
Apocalypse Now (1979) ...
Chinatown (1974) ...
Stardust Memories (1980) ...
Le Notti Bianche (1957)
Explanation:
Answer: Put her insertion point at the end of the item 2b.
Press the enter key.
Explanation: