question is to arrange lines in order and with correct indent. I can’t write anything just need to arrange it. question is in the picture. what’s wrong with my answercapture
Advertisement
Answer
Try this:
JavaScript
x
9
1
for i in range(1,6):
2
if i == 1:
3
print(i, 'little bear')
4
else:
5
print(i, 'little bears')
6
print('Wondering what to do')
7
print('Along came another')
8
print('Then there were', i+1, '!')
9