subject

Alot of computations involve processing a string one character at a time. often they start
at the beginning, select each character in turn, do something to it, and continue until the
end. this pattern of processing is called a traversal. one way to write a traversal is with a
while loop:

index = 0
while index < len(fruit):
letter = fruit[index]
print(letter)
index = index + 1

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:30
In cell h5 enter a formula that will calculate the percentage of attendees that went to the altamonte springs job fair in 2018.
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
How are roger williams, james oglethorpe, and william penn similar?
Answers: 3
You know the right answer?
Alot of computations involve processing a string one character at a time. often they start
at...
Questions
question
Chemistry, 20.08.2021 02:30
question
Mathematics, 20.08.2021 02:30
question
Mathematics, 20.08.2021 02:30
Questions on the website: 13722359