For python i would personally recommend soft tabs, meaning that when the tab key is pressed, the editor insert 4 spaces (4 spaces is generally recommend). The opposite is hard tabs, which insert a tab character.

You can’t change this in the codecademy editor, but if you work outside codecademy, its highly recommend to look for this setting in your editor