academy 8 - Looping and lists BaSe f00 ThE AttAcK Instructions Tutoring Run Termina O Problem program.py > for word in l: if word[0].isupper (): output.append (word) So, something like: Base f00 ThE AttAcK output.reverse() op = for word in output: contains the message: attack the base However, the computers have captured you and forced you to A Submissions <> Output write a program so they can understand all the human messages V #3 Not yet! Failed a test. a few secon (we won't go into what terrible tortures you've undergone). Your X Testing the first example in the question. Your submission did not pi program must work as follows: correct output. Your program output: code: soMe SuPPLies LIKE Ice-CREAM aRe iMPORtant oNly code: Base f00 ThE AttAcK says: destroy their ice-cream supplies says: k a a eto osb when it was meant to output: Notice that, as well as extracting the message, we make every word lowercase so it's easier to read. code: Base f00 ThE AttAcK says: attack the base
academy 8 - Looping and lists BaSe f00 ThE AttAcK Instructions Tutoring Run Termina O Problem program.py > for word in l: if word[0].isupper (): output.append (word) So, something like: Base f00 ThE AttAcK output.reverse() op = for word in output: contains the message: attack the base However, the computers have captured you and forced you to A Submissions <> Output write a program so they can understand all the human messages V #3 Not yet! Failed a test. a few secon (we won't go into what terrible tortures you've undergone). Your X Testing the first example in the question. Your submission did not pi program must work as follows: correct output. Your program output: code: soMe SuPPLies LIKE Ice-CREAM aRe iMPORtant oNly code: Base f00 ThE AttAcK says: destroy their ice-cream supplies says: k a a eto osb when it was meant to output: Notice that, as well as extracting the message, we make every word lowercase so it's easier to read. code: Base f00 ThE AttAcK says: attack the base
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
![academy
8 - Looping and lists
BaSe fo0 ThE AttAcK
Instructions Tutoring
Run Terminal
OProblem
program.py >
for word in l:
if word[0].isupper ():
output.append (word)
So, something like:
Base f00 ThE AttAcK
output.reverse()
op ='
for word in output:
contains the message:
attack the base
However, the computers have captured you and forced you to
A Submissions
<> Output
write a program so they can understand all the human messages
#3 Not yet! Failed a test.
a few seconds
(we won't go into what terrible tortures you've undergone). Your
X Testing the first example in the question. Your submission did not pro
correct output. Your program output:
program must work as follows:
code: soMe SuPPLies liKE Ice-CREAM aRe iMPORtant oNly
code: Base f00 ThE AttAcK
says: destroy their ice-cream supplies
says: k a a eto osb
when it was meant to output:
Notice that, as well as extracting the message, we make every
word lowercase so it's easier to read.
code: BaSe f00 ThE AttAcK
says: attack the base](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F5803114e-d892-4b45-8161-4c1abd28d65e%2F6cfcc61a-6f06-429c-99f0-d2744c60238f%2Feropf4m_processed.png&w=3840&q=75)
Transcribed Image Text:academy
8 - Looping and lists
BaSe fo0 ThE AttAcK
Instructions Tutoring
Run Terminal
OProblem
program.py >
for word in l:
if word[0].isupper ():
output.append (word)
So, something like:
Base f00 ThE AttAcK
output.reverse()
op ='
for word in output:
contains the message:
attack the base
However, the computers have captured you and forced you to
A Submissions
<> Output
write a program so they can understand all the human messages
#3 Not yet! Failed a test.
a few seconds
(we won't go into what terrible tortures you've undergone). Your
X Testing the first example in the question. Your submission did not pro
correct output. Your program output:
program must work as follows:
code: soMe SuPPLies liKE Ice-CREAM aRe iMPORtant oNly
code: Base f00 ThE AttAcK
says: destroy their ice-cream supplies
says: k a a eto osb
when it was meant to output:
Notice that, as well as extracting the message, we make every
word lowercase so it's easier to read.
code: BaSe f00 ThE AttAcK
says: attack the base
Expert Solution

Step 1
According to the information given:-
We have to follow the instruction to get the desired output.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY