Attempt the question, check the explanation, and continue with similar questions to build confidence before exams.
while index < len(str1): print(str1[index]); index += 1
for index in range(len(str1)): print(str1[index])
while str1[index]: print(str1[index])
if index < len(str1): print(str1[index])
Video Explanation
Watch Video Solution
Login to get access
Continue with nearby questions to strengthen the same chapter concept while you still have the context fresh in mind.