1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
77julia77 [94]
4 years ago
12

After saving the changes she made, Sally notices that she used the word "home” too many times in her paragraph. She decides to m

ake her paragraph more interesting by replacing "home” with "shelter” in a few places in the paragraph. How should Sally accomplish this task?
Computers and Technology
1 answer:
Natasha_Volkova [10]4 years ago
8 0

Answer:

c or a there both correct

Explanation:

You might be interested in
8.17 Lab: Strings of a Frequency Write a program that reads whitespace delimited strings (words) and an integer (freq). Then, th
gavmur [86]

Answer:

def occurencesOfWords(words,freq):

  frequency_dictionary={}

  matched_frequency_words=[]

  for i in range(len(words)):

      counter=1

      a=words[i].lower()

      for j in range(len(words)):

          if(i==j):

              continue

          b=words[j].lower()

          if(a==b):

              counter+=1

      frequency_dictionary[words[i]]=counter

  for key in frequency_dictionary:

      if(frequency_dictionary[key]==freq):

          matched_frequency_words.append(key)

  return matched_frequency_words

if __name__=='__main__':

  user_input=input()

  freq=int(input())

  words=user_input.split(" ");

  required_words=occurencesOfWords(words,freq)

  for s in required_words:

      print(s)

Explanation:

  • Inside the occurencesOfWords function, initialize a frequency_dictionary that is used to store the string and the frequency of that specific string .
  • matched_frequency_words is an array that is used to store each string whose frequency matches with the provided frequency
  • Run a nested for loop up to the length of words and inside the nested for loop, skip the iteration if both variables i and j are equal as both strings are at same index.
  • Increment the counter variable, if two string are equal.
  • Loop through the frequency_dictionary to get the matching frequency strings .
  • Finally test the program inside the main function.
5 0
3 years ago
Which character is cannot be used in a file name _ (underscore)/ (backslash)- (hyphen) % ( percent)
Crazy boy [7]
In Windows a (real) backslash is a path separator. The % is involved with DOS variables.
4 0
3 years ago
The odometer gauge indicates the ________________.
kkurt [141]
<span>The odometer gauge indicates the total number of miles that a car has been driven, so the correct answer here is a. This is normally a sealed system, so that when a vehicle is sold from one party to another, the mileage driven figure can be trusted.</span>
7 0
4 years ago
Read 2 more answers
Which of the following was one of the first Internet search engines?
zepelin [54]
Archie was created in 1990 so that one is the first one.
5 0
3 years ago
Read 2 more answers
Select all that apply. Purposes of writing include:
nalin [4]
All of these choices are reasons people write. they all appeal to different people
6 0
4 years ago
Read 2 more answers
Other questions:
  • Is it bad to leave a co2 cartridge in an airsoft pistol?
    6·2 answers
  • The google android mobile operating system is a proprietary system, for use on only approved devices.​
    10·1 answer
  • Bill's manager has asked him to send all staff members the directions for checking out the new projector. In one to two sentence
    14·2 answers
  • Instructions:Select the correct answer.
    6·2 answers
  • create a function named dispAry. This function has 2 arguments, the first one is an integer array and second one is a integer to
    15·1 answer
  • What happens if i unplug my alarm system?
    11·1 answer
  • HELP ASAP 50 POINTS AND BRAINLIST PLZ NO FAKE ANSWER I BEG!!!!!!!!!!!!!!!!!!!!!!!!!!
    15·2 answers
  • There are 2048bytes in4megabytes true or false​
    10·1 answer
  • Which of the following class definition defines a legal abstract class Group of answer choices public class Rectangle abstract {
    15·1 answer
  • Amtel University decides to keep a record of their student data in a backup server. The administrator contacts you to identify t
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!