Nice article. Minor typo:
list_cubed.append(num_cubed(num) is missing a ending paren in second code example.
thank you so much! I noticed that and the fact that I wrote "for x in list" a lot rather than "in list_normal". The typo you noticed and the one I just mentioned have been updated. Thank you so much for catching it!
Awesome! Was just about to edit to point out the list/list_normal thing too.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.