8.10 Code Practice: Question 2 Edhesive

Students were enquired to answer a question at school and to declare what is most important for them to succeed. One that response stood out from the rest was practice. Successful people are definitely not born successful; they become successful from hard work and perseverance. If you tend to get your goals, keep this in mind! shown below are one of the answer and question example that you might possibly benefit from to practice and improve your understanding and also give you insights that could assist you to maintain your study in school.

Question:

8.10 Code Practice: Question 2
Edhesive

Answer:

In this exercise we have to use the knowledge of the python language to write the code, so we have to:

The code is in the attached photo.

So to make it easier the code can be found at:

vocab = [“Libraries”, “Bandwidth”, “Hierarchy”, “Software”, “Firewall”, “Cybersecurity”,”Phishing”, “Logic”, “Productivity”]

print (vocab)

for i in range (1, len (vocab)):

  count = i – 1

  key = vocab[i]

  while (vocab[count] > key) and (count >= 0):

      vocab[count+1] = vocab[count]

      count -= 1

      vocab [count+1] = key

      print(vocab)

They could possibly hopefully guide the student deal with the question by make use of the questions and answer examples. You can easily then have a discussion with your classmate and continue the school learning by studying the subject together.

READ MORE  A gardener can care for the Green's property in 5 hours. If his helper assists him, they can complete the job in 4 hours. How long will it take the helper to do the job?

Leave a Reply

Your email address will not be published.