0

How do you type a Python identation? must it be through the TAB key, or one (or more) spaces work?

22nd Jul 2016, 3:45 AM
Mauricio Losilla
2 Réponses
0
usually, a tab is represented by 4 spaces each, as far as i understood, you can use either one tab o4 spaces, but do not mix spaces and tabs in the same line
22nd Jul 2016, 7:25 PM
Igor Busquets
Igor Busquets - avatar
0
You can use any number of tabs but normally everyone uses 4 tabs spaces as constant.the thing is the spaces u left as identation must be same for every new line you write the code
12th Aug 2016, 5:58 PM
Gulshan Kumar
Gulshan Kumar - avatar