Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part I Lnai 8724

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448475, 978-3662448472

More Books

Students also viewed these Databases questions