Click the Ignore All button the first time the word is flagged in each document.
<u>Explanation:</u>
Click the Ignore All button the first time the word is flagged in each document – This option best suit since the word is expected to be used frequently, it should ignore in all occurrences of the document.
Whereas other shouldn’t add because this task is permanent and we don’t want it to happen once again in another word document. This is a time consuming process and will reduce the productivity.
Click the Change All button the first time the word is flagged in each document option should be used only when we replace all occurrences
.
4. Of course the scientists are concerned, particularly the environmentalists. In fact, they are the people who find alternative ways in order to preserve out natural resources.
5. This is true. Land environments is more susceptible to pollution than water environment. Because of the assimilative capacities of the bodies of water, they can cleanse themselves.
6. False. The weather, the water quality and the forest are three of the things that have drastically changed throughout time. Because of emitting too much air pollutants into the atmosphere, it has led to global warming and climate change.
7. This is true. No matter the size of the area is, it will always be affected.
8. This is true. Biology is the study of life. So, all living things and others related to it are under its field of study.
9. This is false. The atmosphere contains the ozone layers which protects the Earth from UV rays. Without the ozone layer, life would not be possible here on Earth.
10. This is true. Nature would always go about its own cycle. It is the actions of mankind and the effect towards nature that bring about environmental problems.
Answer:
import os
def create_python_script(filename):
comments = "# new python script file"
with open(filename,"w+") as file:
file.write(comments)
filesize = os.path.getsize(filename)
print(f"The size of the file is: {filesize}")
create_python_script("program.py")
Explanation:
The os module is a built-in python file that is used to interact with the operating system terminal. The with keyword is used to create and open a file with write privileges with no need to close the file.
The path.getsize() method is used to get the size of the newly created file which is printed in the console.
Options A and C can get you confused. We can choose option A if our argument is based entirely on digital images. The correct answer, however, is C: Number of pixels you see on your computer monitor.
Resolution describes the clarity and sharpness of a picture that can be measured by the number of pixels contained on a display monitor. It can be expressed by the number of horizontal (width) and vertical pixels (height) represented by a screen. The clarity and sharpness are always dependent on the resolution and size of the monitor.
Answer:
def analyze_text(sentence):
count = 0
e_count = 0
for s in sentence:
s = s.lower()
if s.isalpha():
count += 1
if s == "e":
e_count += 1
return "The text contains " + str(count) + " alphabetic characters, of which " + str(e_count) + " (" + str(e_count*100/count) + "%) are ‘e’."
Explanation:
Create a function called analyze_text takes a string, sentence
Initialize the count and e_count variables as 0
Create a for loop that iterates through the sentence
Inside the loop, convert all letters to lowercase using lower() function. Check each character. If a character is a letter, increment the count by 1. If a character is "e", increment the e_count by 1.
Return the count and e_count in required format