Question: Python question: i'm having trouble with this please help. 2 BaSe fOO ThE AttAcK Problem program.py output [] b 0 d 0 code-input(code: ) for
Python question: i'm having trouble with this please help.

![ThE AttAcK Problem program.py output [] b 0 d 0 code-input("code: ")](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f51824eab1a_53266f51824587bb.jpg)

2 BaSe fOO ThE AttAcK Problem program.py output [] b 0 d 0 code-input("code: ") for word in code.split): In the war against Skynet, humans are trying to pass messages to each other without the computers realising what's happening. To do this, they are using a simple code: They read the words in reverse order They only pay attention to the words in the message that start with an uppercase letter if word [0].isupper () print (word) So, something like: BaSe fOO ThE AttAcK contains the message attack the base However, the computers have captured you and forced you to write a program so they can understand all the human messages (we won't go into what terrible tortures you've undergone). Your program must work as follows: DSubmissions Output code: BaSe f0oThE AttAcK BaSe ThE AttAcK code: soMe SuPPLies liKE Ice-CREAm aRe iMPORtant oNly t says: destroy their ice-cream supplies Notice that, as well as extracting the message, we make every word lowercase so it's easier to read
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
