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
OverLord2011 [107]
2 years ago
12

output: print out the longest common sequence(s) for the two strings. if there is more than one longest common sequence then pri

nt each of those sequences on separate lines in alphabetical order. use the built-in sort function for lists. the sequences should be left aligned. leave a blank line between the output of each input pair. there should be a blank line at the end. if there is no common sequence your program should output no common sequence found.
Computers and Technology
1 answer:
Gala2k [10]2 years ago
4 0

The program that shows the given output in python is as below.

<h3>How to write a Python Program?</h3>

For the program we want to write, the program should have a good, clean logical structure. We will be looking at good documentation and descriptive variable names as well as adhere to the standard coding conventions in Python.

A sample template of this program is as follows;

# Input: s1 and s2 are two strings that represent strands of DNA

# Output: returns a sorted list of substrings that are the longest

#         common subsequence. The list is empty if there are no

#         common subsequences.

def longest_subsequence (s1, s2):

def main():

 # read the data

 # for each pair

   # call longest_subsequence

   # write out result(s)

# insert blank line

if __name__ == "__main__":

 main()

Read more about Python Program at; brainly.com/question/26497128

#SPJ1

You might be interested in
Cations - Office 2016 A
Vika [28.1K]

Answer:

1345

Explanation:

6 0
3 years ago
Read 2 more answers
When leased computing resources can be increased or decreased​ dynamically, they are said to be​ ________.
damaskus [11]

<u>Answer:</u>

When leased computing resources can be increased or decreased dynamically, they are said to be Elastic resources.  

<u>Explanation</u>:

Elastic resources are the resources that are leased and they can be increased or decreased based on the number of users that are using the resource simultaneously. Popular example for elastic resource is Elastic Search EC2, where 2 to 4 servers are allocated to handle the service requests dynamically depending upon the usage. Cloud computing businesses  like Google and AWS Cloud depends on elastic resources.

4 0
3 years ago
Read 2 more answers
When choosing a new computer to buy, you need to be aware of what operating ____a0 it uses.
Lana71 [14]

Answer:

operating system

Explanation:

There are a lot of operating systems in the market. Ubuntu, red hat, windows, apple Macintosh etc. The choice of an operating system changes all the version of software used in the system. Therefore, while choosing a computer one must be aware of the operating system used in it.

7 0
3 years ago
Which of these is NOT an example of lifelong learning?
oee [108]

Answer:

B. having lunch with a friend

Explanation:

Lifelong learning can be defined as a continuous, self-motivated, and self-initiated learning activity that is typically focused on personal or professional development. Thus, it's a form of education that is undertaken throughout life with the sole aim of pursuing knowledge, competencies, and skills for either personal or professional growth and development, especially after acquiring a formal education.

Some examples of lifelong learning includes the following;

I. Reading a trade magazine.

II. Reviewing a textbook.

III. Studying an encyclopedia.

7 0
3 years ago
when water is poured into a styrofoam cup, nothing happens. the water stays in the cup and it can be used for drinking. however,
KengaRu [80]

The backside of the cup disappears and the fuel pours out due to the fact styrofoam is a trading name for polystyrene (PS) foams, Gasoline is crafted from a mixture of hydrocarbons, so it dissolves PS, generating a viscose paste.

Gasoline is crafted from a combination of volatile, flammable liquid hydrocarbons derived from petroleum and used as gas for internal-combustion engines. It is likewise used as a solvent for oils and fats. Gasoline is a form of gas crafted from crude oil and different petroleum liquids. Gasoline is mostly used as an engine gas in vehicles.

Learn more about gasoline at brainly.com/question/28762820

#SPJ4

3 0
2 years ago
Other questions:
  • Which computer device helps you input data in the form of text, numbers, and commands?
    9·1 answer
  • Explain one way that wartime advances in such areas as computers
    10·1 answer
  • One reason for using social media is to develop social and professional contacts. True or False?
    9·1 answer
  • A broadband router is used to do which of the following? run the programs on a computer locate lost files on a computer manage a
    6·1 answer
  • What is the first step in planning a multi-table query?
    14·1 answer
  • Python: Write a program that asks the user how many Fibonnaci numbers to generate and then generates them.
    10·1 answer
  • Refer to the image below. The letter item indicated at 3. is_____________________ a Your Address - Where you are b The Letter Ad
    7·1 answer
  • Ted is asked to create a page of family photos for his family reunion Web site. He will have about 20 pictures to post, with a c
    5·1 answer
  • You are seeking a way to store computer files so you have backup copies anywhere you go.? Which one of the secondary storage typ
    11·1 answer
  • What connections do you see between variables and the Input-Output-Store-Process model of a computer?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!