( Friczy | 2025. 02. 25., k – 14:15 )

https://peps.python.org/pep-0008/

Tabs or Spaces?

Spaces are the preferred indentation method.

Tabs should be used solely to remain consistent with code that is already indented with tabs.

Python disallows mixing tabs and spaces for indentation.

Ha meg nem programkód editor, hanem tetszőleges szövegszerkesztő, akkor a TAB annyi, amennyit az adott tipográfia megkíván. Véletlenül sem 8 karakter, mert szövegszerkesztő esetén sokszor használunk proporcionális betűket.