simple script -> drag them into the correct order
a = 1 b = 2 c = a + b
careful! -> the parsonizer won't work if your first line is indented
a = 1 b = 2 c = a + b
a basic if/else -> drop the indented lines at the correct depth
if False: print('never') else: print('always')
nested if's -> drop the doubly indented line twice as far in
if False: print('never') else: if True: print('always')
for loop with return -> up the challenge by adding extra lines
for i range(10): i++ return i #distractor
programming challenges -> practice the logic without the errors
# https://dbader.org/blog/python-reverse-string #distractor def reverse_string(s): chars = list(s) for i in range(len(s) // 2): tmp = chars[i] chars[i] = chars[len(s) - i - 1] chars[len(s) - i - 1] = tmp return ''.join(chars)
parsonizer source code, powered by js-parsons