Indentation
Indent each line according to the right number of spaces it needs.
Start file
this line doesn’t have indentation this line is indented with two spaces this one has four this other one has two this one is indented with two spaces this line has a four spaces indentation this line needs six spaces this line needs six spaces too this line is back to four spaces this line is finally indented with two spaces this final line is not indented
End file
this line doesn’t have indentation this line is indented with two spaces this one has four this other one has two this one is indented with two spaces this line has a four spaces indentation this line needs six spaces this line needs six spaces too this line is back to four spaces this line is finally indented with two spaces this final line is not indented
View Diff
2,10c2,10 < this line is indented with two spaces < this one has four < this other one has two < this one is indented with two spaces < this line has a four spaces indentation < this line needs six spaces < this line needs six spaces too < this line is back to four spaces < this line is finally indented with two spaces --- > this line is indented with two spaces > this one has four > this other one has two > this one is indented with two spaces > this line has a four spaces indentation > this line needs six spaces > this line needs six spaces too > this line is back to four spaces > this line is finally indented with two spaces
Solutions by @kylewillmon:
Unlock 1 remaining solutions by signing in and submitting your own entry