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
Leokris [45]
3 years ago
6

def find_missing_letters(sentence): the input sentence is an array/list (created from normalize()) returns a sorted list of lett

ers that are NOT in the sentence use the built in Python type set to solve (see previous lesson) def find_missing letters algorithm(sentence): the input sentence is an array/list (created from normalize()) returns a sorted array of letters that are NOT in the sentence you must NOT use the set type Hints for find_missing_letters algorithm: create your own algorithm and use only the data types (other than set) that we have discussed the set datatype is removed during the running of the tests (so don't use it) the output should be the same as that from find_missing_letters (easy to test) if you find yourself writing over 30 lines of code, you are proba

Engineering
1 answer:
neonofarm [45]3 years ago
6 0

Answer:

Follow step by step explabation to get answer to the question and also see attachments for output.

Explanation:

code:

def normalize(input_string):

l=list();

for i in input_string:

if (i>='a' and i<='z') or (i>='A' and i<='Z'):

l.append(i.lower())

return l

def find_missing_letters_algorithm(sentence,prevsentece):

l=list();

for i in prevsentece:

i=i.lower();

if i not in sentence:

l.append(i)

return l

print(find_missing_letters_algorithm(normalize("O.K. #1 Python!"),"O.K. #1 Python!"))

You might be interested in
A number 12 copper wire has a diameter of 2.053 mm. Calculate the resistance of a 37.0 m long piece of such wire.
Alinara [238K]

Answer:

R=1923Ω

Explanation:

Resistivity(R) of copper wire at 20 degrees Celsius is 1.72x10^-8Ωm.

Coil length(L) of the wire=37.0m

Cross-sectional area of the conductor or wire (A) = πr^2

A= π * (2.053/1000)/2=3.31*10^-6

To calculate for the resistance (R):

R=ρ*L/A

R=(1.72*10^8)*(37.0)/(3.31*10^-6)

R=1922.65Ω

Approximately, R=1923Ω

5 0
3 years ago
Question 40 and the next Question 41
TEA [102]

Answer:

there's no photo? but I'm willing to help

8 0
2 years ago
Plant scientists would not do which of the following?
zavuch27 [327]

Explanation:

i think option 4 is correct answer because itsrelated to animal not plants.

6 0
4 years ago
Read 2 more answers
How to study thermodynamics?​
expeople1 [14]

It is study of the relationships between heat, temprature, work and energy

7 0
3 years ago
Read 2 more answers
Draw the schematics for the following two battery connections. Can you explain the value of the output voltage in the series con
matrenka [14]

if two 1.5 ya alt batteries are connected to head to the tail the voltage is 3.0 volt it is the because the battery is insidious reduce a voltage equal to number of battery is multiplied by the voltage of individual

5 0
3 years ago
Other questions:
  • שאלה 2 - כתיבת קוד (35 נק')
    12·1 answer
  • For a 20 ohm resistor R, the current i = 2 A. What is the voltage V? Submit your answer as a number without units. ​
    12·1 answer
  • Some chemical reaction is being run inside a sealed gas cylinder. During the reaction, a gaseous product is formed. The pressure
    14·1 answer
  • Which definition best fits the idea of electrical resistance in a wire? A. the decrease in current flow due to electrons collidi
    12·1 answer
  • The concrete canoe team does some analysis on their design and calculates that they need a compressive strength of 860 psi. They
    15·1 answer
  • The wave-particle duality theory is the first adequate explanation of which one of the following observations about the hydrogen
    10·1 answer
  • 53. The plan of a building is in the form of a rectangle with
    13·1 answer
  • Which of the following best describes the basic purpose of the internet?
    7·2 answers
  • What is the relationship between compressor work and COPR?
    14·1 answer
  • How to plot 0.45 gradation chart for sieve analysis ?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!