Answer:
import numpy as np
word = input("Enter a word: ")
acc = []
with open("Downloads/record-collection.txt", "r") as file:
lines = file.readlines()
for line in lines:
if word in line:
line = line.strip()
acc.append(int(line[0]))
if np.mean(acc) >= 2:
print(f"The word {word} is a positive word")
print(f"{word} appeared {len(acc)} times")
print(f"the review of the word {word} is {round(np.mean(acc), 2)}")
else:
print(f"the word {word} is a negative word with review\
{round(np.mean(acc), 2)}")
Explanation:
The python program gets the text from the review file, using the user input word to get the definition of reviews based on the word, whether positive or negative.
The program uses the 'with' keyword to open the file and created the acc variable to hold the reviews gotten. The mean of the acc is calculated with the numpy mean method and if the mean is equal to or greater than 2 it is a positive word, else negative.
Answer:
1. navigation 2.create 3.forms 4.all the columns in the table
Explanation:
Answer:
C). It is temporary storage that holds a selection until you paste it into a document or folder.
Explanation:
'Clipboard' is described as a buffer in memory where the user can store data temporarily while transferring it from one place within an application to another or between applications. It is a part of RAM that holds the copied data by the time it is pasted into another place. It allows the users to transfer data like which could be text, document, image, or file to move data across different applications without having to type directly. Thus, <u>option C</u> states a true claim about Clipboard and is the correct answer.