• Register

Recent questions tagged indentation-error

0 votes
1 answer 10 views
Problem Can someone give me a hand to solve What is an indentation error in python? I need help understanding this error
asked Mar 7 neeraj 10.5k points
0 votes
1 answer 24 views
Problem Hey, I have been facing this error “Block if you End if” despite having used End if statement. So here is the proper description: I have created a combobox in in word that is created to populate the termshorthand text field which is based on the selection from the termWritten array. I am ... Then                     termShorthand.Value = "no"                 End If End Sub vba
asked Feb 4 chris jordan 2.4k points
0 votes
1 answer 30 views
Problem: I'm trying to create an application in Python 3.2 and I use tabs all the time for indentation, but even the editor changes some of them into spaces and then print out "inconsistent use of tabs and spaces in indentation" when I try to run the program. How can I change ... would be glad if I could get some overall tips on my code, if I have done a lot of mistakes I would be happy to hear.
asked Jan 26 Mashhoodch 13k points
0 votes
1 answer 59 views
Problem: Let me start off by saying that I am COMPLETELY new to programming. I have just recently picked up Python and it has consistently kicked me in the head with one recurring error -- "expected an indented block" Now, I know there are several other ... indentation has not given me better results. I have replaced all of my indents with 4 spaces and even rewritten the code several times.
asked Jan 10 Mashhoodch 13k points
0 votes
1 answer 42 views
Problem: I'm trying to create an application in Python 3.2 and I use tabs all the time for indentation, but even the editor changes some of them into spaces and then print out "inconsistent use of tabs and spaces in indentation" when I try to run the program
asked Jan 9 Mashhoodch 13k points
0 votes
1 answer 92 views
I'm trying to create an application in Python 3.2 and I use tabs all the time for indentation, but even the editor changes some of them into spaces and then print out "inconsistent use of tabs and spaces in indentation" when I try to run the program. How can I change the spaces into ... tyvärr, du är för ung, prova något annat") return 0 elif self.alder >= 10: print("Gå in om du törs!") print(" ")
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 40 views
Problem: I am new to python and I have implemented the list in python and trying to access the list index but it getting me an error that is intend error by for loop don’t know what I am doing wrong in this code. I come from the C background so ... File "main.py", line 46 break ^ IndentationError: unindent does not match any outer indentation level Need someone to help me waiting for help!!
asked Jun 29, 2020 Gavin 15.3k points
0 votes
1 answer 33 views
Problem: I am a newbee in python programming. I was doing my coding practice. I wrote some codes like : class MyCar: def __init__(self,rang,oil_remaining,**kwargs): self.rang=rang self.fuel_remaining=oil_remaining self.taps = 0 for key,value in kwargs.items(): setattr(self ... and spaces in indentation The code seems right to me but I dont know why am I getting this type of errors. Please help me
asked Mar 22, 2020 LizzyM 6.1k points
0 votes
2 answers 815 views
Problem : I'm new to Python & trying to create an application in Python 3.2 and I use tabs all the time for indentation, but even the editor changes some of them into spaces and then print out "inconsistent use of tabs and spaces in indentation" when I try to run the program.
asked Oct 21, 2019 peterlaw 6.9k points
To see more, click for the full list of questions or popular tags.