Print empty line?

后端 未结 7 844
青春惊慌失措
青春惊慌失措 2020-12-25 12:37

I am following a beginners tutorial on Python, there is a small exercise where I have to add an extra function call and print a line between verses, this works fine if I pri

7条回答
  •  無奈伤痛
    2020-12-25 12:59

    You will always only get an indent error if there is actually an indent error. Double check that your final line is indented the same was as the other lines -- either with spaces or with tabs. Most likely, some of the lines had spaces (or tabs) and the other line had tabs (or spaces).

    Trust in the error message -- if it says something specific, assume it to be true and figure out why.

提交回复
热议问题