Indentationerror Expected An Indented Block Python
Please read the help documents before posting.
Indentationerror expected an indented block python. Expected an indented block would seem to indicate that you have an indentation error. In python it is. Name input what s your name. Expected an indented block is what the console returns when my code is exactly what kenneth has on this video lesson.
Python file main py line 18. Print name is a lumberjack and he is ok else. This is not a comprehensive python tutorial but instead is intended to highlight the parts of the language that will be most important to us some of which are often not the focus of python. It is probably caused by a mix of tabs and spaces.
Expected an indented block and how to make it write. In most popular programming languages spaces or indentation are just used to make the code look better and be easier to read. Print name sleeps all night and name works all day. File main py line 18 message connectionsocket recv 1024 indentationerror.
If name kris. The indentation can be any consistent white space.