error (1) 썸네일형 리스트형 [Error] 5 Common Python Mistakes and How to Fix Them Mistake1 : Indentation and Spaces The Indentation Error can occur when the spaces or tabs are not placed properly. If an indentation error occurs, the transition options of the tabs and spaces on the editor must be changed. Then tabs will automatically be cnaged to 4 spaces. nums = [11, 30, 44, 54] for num in nums: # Using tabs square = num ** 2 # using spaces(4) print(square) # Indentation Eror.. 이전 1 다음