Question
phrase = input("Please enter a phrase: ")
index = 0
for i in phrase:
if i == " ":
print("Space at index", index)
index += 1
print("Scan complete")
Which lines have to be indented
index = 0
for i in phrase:
if i == " ":
print("Space at index", index)
index += 1
print("Scan complete")
Which lines have to be indented
Answers
Answer
How many times
Answer
Just tell me
Answer
On iPad HOW MUCH?
Answer
Screwaiblots
Answer
Summary: 4 tests run, 2 tests passed, Original Grade = 50.0
------------------------------------------------------------------------------
PASSED: Source Test 1: Use a "for" loop to iterate over phrase (+25.0)
PASSED: Output Test 2: Verify program output #1 (+25.0)
------------------------------------------------------------------------------
PASSED: Source Test 1: Use a "for" loop to iterate over phrase (+25.0)
PASSED: Output Test 2: Verify program output #1 (+25.0)
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.