Question: python Spathiphyllum , more commonly known as a peace lily or white sail plant, is one of the most popular indoor houseplants that filters out

python

Spathiphyllum, more commonly known as a peace lily or white sail plant, is one of the most popular indoor houseplants that filters out harmful toxins from the air. Some of the toxins that it neutralizes include benzene, formaldehyde, and ammonia.

Imagine that your computer program loves these plants. Whenever it receives an input in the form of the word Spathiphyllum, it involuntarily shouts to the console the following string: "Spathiphyllum is the best plant ever!"

2nd exercise. You have 2 files:

file a contains:

SAMPLE

TREE

ROUND

GREEN

ROAD

PLAN

second file contains:

SOUND

TRAFFIC

RED

GREAT

TOMATO

PRESSURE

RINGS

SWEET

SOFT

RISER

GREET

..

..

ETC

Take each word from 2nd file, take the 1st character of the word and find matching 1st character in the 1st file and attach that word from the second file to the word in the 1st file separated by a comma. Example:

SAMPLE will become

SAMPLE, SOUND, SWEET, SOFT'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!