Answer the question
In order to leave comments, you need to log in
How to fix inconsistent use of tabs and spaces in indentation error?
I encountered an error while writing the parser
course = {'titel': titel, 'descript': descript, 'url': url}
^
TabError: inconsistent use of tabs and spaces in indentation
Answer the question
In order to leave comments, you need to log in
let array = Object.values(obj).map(({ name, item, type, summ }) => ([ name, item, type, sum ]));
What is there not to understand - I copied a piece from somewhere, and there are tabs in it. The 3rd python considers it a mistake to use both tabs and spaces in one file at the same time.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question