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
Marta_Voda [28]
4 years ago
7

Create a Python program that will produce the following output:

Engineering
1 answer:
Aloiza [94]4 years ago
6 0

Answer:

def main ():

   sentence = input("Please enter a sentence:")

   print("Original Sentence:",sentence)

   # start at the third character

   for i in range(2,  len(sentence), 3):

       # access the string by index  

       print("Every third letter:", sentence[i])

Explanation:

def helps define the sentence ( input)

in order to start printing from third letter we start the range from 2 and keep the step 3 . The range i is in square parenthesis to show the range and access string.

You might be interested in
If i build thing a and thing a builds thing b did i build thing b
postnew [5]

Answer:

<h3>Yes</h3>

Explanation:

If you build thing "a" and thing "a" builds thing "b" you <u>indirectly</u> build thing "b".

3 0
3 years ago
Read 2 more answers
Cell phones require powerful batteries in orde to work effectively. Which activity is best described as an engineering endeavor
natta225 [31]
Where are the options?
8 0
3 years ago
1).<br> Patient people are physically healthier than non-patient people.<br> True<br> False
Ede4ka [16]

Answer:false\

Explanation:

6 0
3 years ago
3. A section of highway has vertical and horizontal curves with the same design speed. A vertical curve on this highway connects
My name is Ann [436]

Answer:

Detailed solution is given below:

4 0
4 years ago
Read 2 more answers
Is there more that you and your family could do to recycle? Can you come up with three (3) ideas to reuse some of the waste prod
Leya [2.2K]

Answer:

Explanation:

-have two bins, one for trash the other for recycling

-using reusable bags

-when cleaning use a rag instead of napkins/paper towels

-collect rain water

-reuse/repurpose old containers

-reuse old scraps

5 0
3 years ago
Other questions:
  • Match the words in the left column to the appropriate blanks in the sentences on the right. Note that some words may be used mor
    14·1 answer
  • Any programmer who writes a Diophantine equation solver must occasionally encounter an infinite loop.
    13·1 answer
  • How dose iorn get forged itno steel?
    10·1 answer
  • 5. Switch a in the circuit has been open for a long time and switch b has been closed for a long time. Switch a is closed at t =
    13·1 answer
  • a digital multimeter is set to read dc volts on the 4 volt scale the meter leads are connected to a 12 volt battery what will th
    14·2 answers
  • The tool life decreases from 0.8 min to 0.2 min due to the increase in cutting speed from 60 m/min to 120 m/min in a turning ope
    12·1 answer
  • Market research is a good place to start the design process and usually involves asking questions about consumers.
    5·1 answer
  • During the process of building titanic did titanic catch on fire and weaken the hall befor it hit the iceburg
    5·1 answer
  • engineering controls are devices such as self sheathing needles and sharps containers to block or eliminate the sharp risk. true
    9·1 answer
  • The metal control joints used to relieve stresses caused by expansion and contraction in large ceiling or wall expenses in inter
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!