[{"data":1,"prerenderedAt":1200},["ShallowReactive",2],{"doc-\u002Ferrors\u002Findentationerror-unexpected-indent-fix":3},{"id":4,"title":5,"body":6,"description":1192,"extension":1193,"meta":1194,"navigation":1195,"path":1196,"seo":1197,"stem":1198,"__hash__":1199},"content\u002Ferrors\u002Findentationerror-unexpected-indent-fix.md","IndentationError: unexpected indent (Fix)",{"type":7,"value":8,"toc":1168},"minimark",[9,13,26,29,42,45,50,70,76,141,144,155,163,167,170,173,180,183,194,198,201,215,218,270,273,277,283,333,336,339,357,360,365,368,415,418,426,429,482,489,492,532,536,539,556,559,576,579,612,620,631,635,638,656,659,694,697,730,737,770,776,783,787,790,830,833,848,860,863,881,884,892,896,902,905,919,922,929,933,936,941,948,951,978,985,990,995,998,1000,1044,1047,1051,1056,1063,1065,1091,1095,1099,1103,1106,1110,1117,1121,1124,1128,1131,1135,1164],[10,11,5],"h1",{"id":12},"indentationerror-unexpected-indent-fix",[14,15,16,20,21,25],"p",{},[17,18,19],"code",{},"IndentationError: unexpected indent"," means Python found spaces or tabs at the start of a line where it was ",[22,23,24],"strong",{},"not expecting a new block",".",[14,27,28],{},"This usually happens when:",[30,31,32,36,39],"ul",{},[33,34,35],"li",{},"a top-level line starts with extra spaces",[33,37,38],{},"a line is indented even though the line above it did not start a block",[33,40,41],{},"copied code contains hidden tabs or spaces",[14,43,44],{},"The good news is that this error is usually fast to fix. Python often points to the exact line that caused the problem.",[46,47,49],"h2",{"id":48},"quick-fix","Quick fix",[14,51,52,53,56,57,56,60,56,63,66,67,25],{},"Only indent a line when it belongs inside a block such as ",[17,54,55],{},"if",", ",[17,58,59],{},"for",[17,61,62],{},"while",[17,64,65],{},"def",", or ",[17,68,69],{},"class",[14,71,72,73,25],{},"Use consistent spaces, usually ",[22,74,75],{},"4 spaces per level",[77,78,83],"pre",{"className":79,"code":80,"language":81,"meta":82,"style":82},"language-python shiki shiki-themes material-theme-lighter github-light github-dark","if True:\n    print(\"This line is correctly indented\")\nprint(\"This line is not indented, so it is outside the if block\")\n","python","",[17,84,85,101,124],{"__ignoreMap":82},[86,87,90,93,97],"span",{"class":88,"line":89},"line",1,[86,91,55],{"class":92},"sVHd0",[86,94,96],{"class":95},"s39Yj"," True",[86,98,100],{"class":99},"sP7_E",":\n",[86,102,104,108,111,115,119,121],{"class":88,"line":103},2,[86,105,107],{"class":106},"sptTA","    print",[86,109,110],{"class":99},"(",[86,112,114],{"class":113},"sjJ54","\"",[86,116,118],{"class":117},"s_sjI","This line is correctly indented",[86,120,114],{"class":113},[86,122,123],{"class":99},")\n",[86,125,127,130,132,134,137,139],{"class":88,"line":126},3,[86,128,129],{"class":106},"print",[86,131,110],{"class":99},[86,133,114],{"class":113},[86,135,136],{"class":117},"This line is not indented, so it is outside the if block",[86,138,114],{"class":113},[86,140,123],{"class":99},[14,142,143],{},"In this example:",[30,145,146,152],{},[33,147,148,149,151],{},"the second line is indented because it belongs to the ",[17,150,55],{}," block",[33,153,154],{},"the third line is not indented, so it runs outside the block",[14,156,157,158,25],{},"If you want a refresher on how Python blocks work, see ",[159,160,162],"a",{"href":161},"\u002Flearn\u002Fpython-indentation-rules-and-why-they-matter\u002F","Python indentation rules and why they matter",[46,164,166],{"id":165},"what-this-error-means","What this error means",[14,168,169],{},"Python uses indentation to define code blocks.",[14,171,172],{},"That means spaces at the start of a line are not just for formatting. They change the structure of the program.",[14,174,175,176,179],{},"An ",[22,177,178],{},"unexpected indent"," means Python found extra leading spaces or tabs where a new block did not make sense.",[14,181,182],{},"In many cases:",[30,184,185,188,191],{},[33,186,187],{},"the error points to the exact problem line",[33,189,190],{},"the real cause may be on the line above it",[33,192,193],{},"a missing colon can make the next indented line fail",[46,195,197],{"id":196},"when-this-error-happens","When this error happens",[14,199,200],{},"This error often appears in these situations:",[30,202,203,206,209,212],{},[33,204,205],{},"A line is indented even though no block was started before it.",[33,207,208],{},"Top-level code starts with spaces by mistake.",[33,210,211],{},"A copied line includes hidden spaces or tabs.",[33,213,214],{},"The indentation level changes in a way that does not match the code structure.",[14,216,217],{},"Python expects indentation only after a block-starting line such as:",[30,219,220,224,228,232,236,240,245,250,255,260,265],{},[33,221,222],{},[17,223,55],{},[33,225,226],{},[17,227,59],{},[33,229,230],{},[17,231,62],{},[33,233,234],{},[17,235,65],{},[33,237,238],{},[17,239,69],{},[33,241,242],{},[17,243,244],{},"try",[33,246,247],{},[17,248,249],{},"except",[33,251,252],{},[17,253,254],{},"else",[33,256,257],{},[17,258,259],{},"elif",[33,261,262],{},[17,263,264],{},"finally",[33,266,267],{},[17,268,269],{},"with",[14,271,272],{},"If you indent after a normal statement, Python raises an error.",[46,274,276],{"id":275},"example-that-causes-the-error","Example that causes the error",[14,278,279,280,282],{},"Here is a simple script that causes ",[17,281,19],{},":",[77,284,286],{"className":79,"code":285,"language":81,"meta":82,"style":82},"print(\"Start\")\n    print(\"Hello\")\nprint(\"End\")\n",[17,287,288,303,318],{"__ignoreMap":82},[86,289,290,292,294,296,299,301],{"class":88,"line":89},[86,291,129],{"class":106},[86,293,110],{"class":99},[86,295,114],{"class":113},[86,297,298],{"class":117},"Start",[86,300,114],{"class":113},[86,302,123],{"class":99},[86,304,305,307,309,311,314,316],{"class":88,"line":103},[86,306,107],{"class":106},[86,308,110],{"class":99},[86,310,114],{"class":113},[86,312,313],{"class":117},"Hello",[86,315,114],{"class":113},[86,317,123],{"class":99},[86,319,320,322,324,326,329,331],{"class":88,"line":126},[86,321,129],{"class":106},[86,323,110],{"class":99},[86,325,114],{"class":113},[86,327,328],{"class":117},"End",[86,330,114],{"class":113},[86,332,123],{"class":99},[14,334,335],{},"The second line starts with spaces, but there is no block above it.",[14,337,338],{},"Python sees:",[30,340,341,347],{},[33,342,343,344],{},"a normal top-level ",[17,345,346],{},"print(\"Start\")",[33,348,349,350,56,352,56,354,356],{},"then an indented line that does not belong to ",[17,351,55],{},[17,353,59],{},[17,355,65],{},", or another block",[14,358,359],{},"That causes the error.",[361,362,364],"h3",{"id":363},"correct-version","Correct version",[14,366,367],{},"Remove the extra indentation:",[77,369,371],{"className":79,"code":370,"language":81,"meta":82,"style":82},"print(\"Start\")\nprint(\"Hello\")\nprint(\"End\")\n",[17,372,373,387,401],{"__ignoreMap":82},[86,374,375,377,379,381,383,385],{"class":88,"line":89},[86,376,129],{"class":106},[86,378,110],{"class":99},[86,380,114],{"class":113},[86,382,298],{"class":117},[86,384,114],{"class":113},[86,386,123],{"class":99},[86,388,389,391,393,395,397,399],{"class":88,"line":103},[86,390,129],{"class":106},[86,392,110],{"class":99},[86,394,114],{"class":113},[86,396,313],{"class":117},[86,398,114],{"class":113},[86,400,123],{"class":99},[86,402,403,405,407,409,411,413],{"class":88,"line":126},[86,404,129],{"class":106},[86,406,110],{"class":99},[86,408,114],{"class":113},[86,410,328],{"class":117},[86,412,114],{"class":113},[86,414,123],{"class":99},[14,416,417],{},"Expected output:",[77,419,424],{"className":420,"code":422,"language":423,"meta":82},[421],"language-text","Start\nHello\nEnd\n","text",[17,425,422],{"__ignoreMap":82},[14,427,428],{},"Here is another common example:",[77,430,432],{"className":79,"code":431,"language":81,"meta":82,"style":82},"name = \"Sam\"\n    age = 10\nprint(name, age)\n",[17,433,434,453,464],{"__ignoreMap":82},[86,435,436,440,444,447,450],{"class":88,"line":89},[86,437,439],{"class":438},"su5hD","name ",[86,441,443],{"class":442},"smGrS","=",[86,445,446],{"class":113}," \"",[86,448,449],{"class":117},"Sam",[86,451,452],{"class":113},"\"\n",[86,454,455,458,460],{"class":88,"line":103},[86,456,457],{"class":438},"    age ",[86,459,443],{"class":442},[86,461,463],{"class":462},"srdBf"," 10\n",[86,465,466,468,470,474,477,480],{"class":88,"line":126},[86,467,129],{"class":106},[86,469,110],{"class":99},[86,471,473],{"class":472},"slqww","name",[86,475,476],{"class":99},",",[86,478,479],{"class":472}," age",[86,481,123],{"class":99},[14,483,484,485,488],{},"This fails for the same reason: ",[17,486,487],{},"age = 10"," is indented for no valid reason.",[14,490,491],{},"Correct version:",[77,493,495],{"className":79,"code":494,"language":81,"meta":82,"style":82},"name = \"Sam\"\nage = 10\nprint(name, age)\n",[17,496,497,509,518],{"__ignoreMap":82},[86,498,499,501,503,505,507],{"class":88,"line":89},[86,500,439],{"class":438},[86,502,443],{"class":442},[86,504,446],{"class":113},[86,506,449],{"class":117},[86,508,452],{"class":113},[86,510,511,514,516],{"class":88,"line":103},[86,512,513],{"class":438},"age ",[86,515,443],{"class":442},[86,517,463],{"class":462},[86,519,520,522,524,526,528,530],{"class":88,"line":126},[86,521,129],{"class":106},[86,523,110],{"class":99},[86,525,473],{"class":472},[86,527,476],{"class":99},[86,529,479],{"class":472},[86,531,123],{"class":99},[46,533,535],{"id":534},"common-causes","Common causes",[14,537,538],{},"The most common reasons for this error are:",[30,540,541,544,547,550,553],{},[33,542,543],{},"Accidentally pressing Tab or Space at the start of a line",[33,545,546],{},"Indenting after a line that does not end with a colon",[33,548,549],{},"Pasting code from a website or document",[33,551,552],{},"Mixing tabs and spaces",[33,554,555],{},"Editing one line manually so it no longer matches nearby lines",[14,557,558],{},"More specifically, watch for these common mistakes:",[30,560,561,564,567,570,573],{},[33,562,563],{},"Extra spaces before a top-level statement",[33,565,566],{},"Indenting a line after a statement that does not create a block",[33,568,569],{},"Copy-pasted code with hidden indentation",[33,571,572],{},"Using tabs on one line and spaces on another",[33,574,575],{},"Missing colon on the previous line",[14,577,578],{},"A missing colon is especially important. For example:",[77,580,582],{"className":79,"code":581,"language":81,"meta":82,"style":82},"if 5 > 3\n    print(\"Yes\")\n",[17,583,584,597],{"__ignoreMap":82},[86,585,586,588,591,594],{"class":88,"line":89},[86,587,55],{"class":92},[86,589,590],{"class":462}," 5",[86,592,593],{"class":442}," >",[86,595,596],{"class":462}," 3\n",[86,598,599,601,603,605,608,610],{"class":88,"line":103},[86,600,107],{"class":106},[86,602,110],{"class":99},[86,604,114],{"class":113},[86,606,607],{"class":117},"Yes",[86,609,114],{"class":113},[86,611,123],{"class":99},[14,613,614,615,617,618,25],{},"This code is wrong because the ",[17,616,55],{}," line is missing ",[17,619,282],{},[14,621,622,623,625,626,630],{},"Python may report a syntax problem on the ",[17,624,55],{}," line, or the next indented line may make the problem more confusing. See ",[159,627,629],{"href":628},"\u002Ferrors\u002Fsyntaxerror-missing-colon-fix","SyntaxError: missing colon"," for that case.",[46,632,634],{"id":633},"how-to-fix-it","How to fix it",[14,636,637],{},"Use this simple process:",[639,640,641,644,647,650,653],"ol",{},[33,642,643],{},"Go to the line shown in the traceback.",[33,645,646],{},"Check whether that line should really be inside a block.",[33,648,649],{},"If it should be top-level code, remove the extra spaces.",[33,651,652],{},"If it belongs in a block, check the line above it for a missing colon.",[33,654,655],{},"Convert tabs to spaces and keep indentation consistent.",[14,657,658],{},"Example of a missing block starter:",[77,660,662],{"className":79,"code":661,"language":81,"meta":82,"style":82},"print(\"Checking value\")\n    print(\"This should not be indented\")\n",[17,663,664,679],{"__ignoreMap":82},[86,665,666,668,670,672,675,677],{"class":88,"line":89},[86,667,129],{"class":106},[86,669,110],{"class":99},[86,671,114],{"class":113},[86,673,674],{"class":117},"Checking value",[86,676,114],{"class":113},[86,678,123],{"class":99},[86,680,681,683,685,687,690,692],{"class":88,"line":103},[86,682,107],{"class":106},[86,684,110],{"class":99},[86,686,114],{"class":113},[86,688,689],{"class":117},"This should not be indented",[86,691,114],{"class":113},[86,693,123],{"class":99},[14,695,696],{},"Fix:",[77,698,700],{"className":79,"code":699,"language":81,"meta":82,"style":82},"print(\"Checking value\")\nprint(\"This should not be indented\")\n",[17,701,702,716],{"__ignoreMap":82},[86,703,704,706,708,710,712,714],{"class":88,"line":89},[86,705,129],{"class":106},[86,707,110],{"class":99},[86,709,114],{"class":113},[86,711,674],{"class":117},[86,713,114],{"class":113},[86,715,123],{"class":99},[86,717,718,720,722,724,726,728],{"class":88,"line":103},[86,719,129],{"class":106},[86,721,110],{"class":99},[86,723,114],{"class":113},[86,725,689],{"class":117},[86,727,114],{"class":113},[86,729,123],{"class":99},[14,731,732,733,736],{},"Example where the line ",[22,734,735],{},"should"," be indented because it belongs to a block:",[77,738,740],{"className":79,"code":739,"language":81,"meta":82,"style":82},"if 10 > 5:\n    print(\"10 is greater than 5\")\n",[17,741,742,755],{"__ignoreMap":82},[86,743,744,746,749,751,753],{"class":88,"line":89},[86,745,55],{"class":92},[86,747,748],{"class":462}," 10",[86,750,593],{"class":442},[86,752,590],{"class":462},[86,754,100],{"class":99},[86,756,757,759,761,763,766,768],{"class":88,"line":103},[86,758,107],{"class":106},[86,760,110],{"class":99},[86,762,114],{"class":113},[86,764,765],{"class":117},"10 is greater than 5",[86,767,114],{"class":113},[86,769,123],{"class":99},[14,771,772,773,775],{},"Here the indentation is correct because the ",[17,774,55],{}," statement starts a block.",[14,777,778,779,25],{},"If Python says a block is missing instead of extra indentation, that is a different error. See ",[159,780,782],{"href":781},"\u002Ferrors\u002Findentationerror-expected-an-indented-block-fix","IndentationError: expected an indented block",[46,784,786],{"id":785},"debugging-checklist","Debugging checklist",[14,788,789],{},"When you see this error, check these things in order:",[30,791,792,795,821,824,827],{},[33,793,794],{},"Look at the error line and the line before it.",[33,796,797,798,56,800,56,802,56,804,56,806,56,808,56,810,56,812,56,814,56,816,818,819,25],{},"Check for ",[17,799,55],{},[17,801,59],{},[17,803,62],{},[17,805,65],{},[17,807,69],{},[17,809,244],{},[17,811,249],{},[17,813,254],{},[17,815,259],{},[17,817,264],{},", and ",[17,820,269],{},[33,822,823],{},"Make sure block-starting lines end with a colon.",[33,825,826],{},"Use 4 spaces per indentation level.",[33,828,829],{},"Turn on visible whitespace in your editor if available.",[14,831,832],{},"You can also run your file from the terminal to see the traceback clearly:",[77,834,838],{"className":835,"code":836,"language":837,"meta":82,"style":82},"language-bash shiki shiki-themes material-theme-lighter github-light github-dark","python your_script.py\n","bash",[17,839,840],{"__ignoreMap":82},[86,841,842,845],{"class":88,"line":89},[86,843,81],{"class":844},"sbgvK",[86,846,847],{"class":117}," your_script.py\n",[77,849,851],{"className":835,"code":850,"language":837,"meta":82,"style":82},"python3 your_script.py\n",[17,852,853],{"__ignoreMap":82},[86,854,855,858],{"class":88,"line":89},[86,856,857],{"class":844},"python3",[86,859,847],{"class":117},[14,861,862],{},"To check for syntax and indentation problems without running the script normally, you can use:",[77,864,866],{"className":835,"code":865,"language":837,"meta":82,"style":82},"python -m py_compile your_script.py\n",[17,867,868],{"__ignoreMap":82},[86,869,870,872,876,879],{"class":88,"line":89},[86,871,81],{"class":844},[86,873,875],{"class":874},"stzsN"," -m",[86,877,878],{"class":117}," py_compile",[86,880,847],{"class":117},[14,882,883],{},"That command is useful when you only want Python to check the file for errors.",[14,885,886,887,891],{},"If you are new to reading tracebacks, ",[159,888,890],{"href":889},"\u002Fhow-to\u002Fhow-to-debug-python-code-beginner-guide\u002F","how to debug Python code as a beginner"," can help.",[46,893,895],{"id":894},"tabs-vs-spaces","Tabs vs spaces",[14,897,898,899,25],{},"Python code is easier to manage when you use ",[22,900,901],{},"spaces only",[14,903,904],{},"For beginners, the best rule is simple:",[30,906,907,913,916],{},[33,908,909,910],{},"use ",[22,911,912],{},"4 spaces",[33,914,915],{},"do not use tabs",[33,917,918],{},"keep every line in the same block aligned",[14,920,921],{},"Many code editors can automatically convert tabs to spaces. That helps prevent indentation problems.",[14,923,924,925,25],{},"Mixing tabs and spaces can also cause a related error: ",[159,926,928],{"href":927},"\u002Ferrors\u002Findentationerror-unindent-does-not-match-any-outer-indentation-level-fix","IndentationError: unindent does not match any outer indentation level",[46,930,932],{"id":931},"related-errors-to-compare","Related errors to compare",[14,934,935],{},"This error is easy to confuse with other indentation and syntax errors.",[361,937,939],{"id":938},"indentationerror-expected-an-indented-block",[17,940,782],{},[14,942,943,944,947],{},"This happens when indentation is ",[22,945,946],{},"missing",", not extra.",[14,949,950],{},"Example:",[77,952,954],{"className":79,"code":953,"language":81,"meta":82,"style":82},"if True:\nprint(\"Hello\")\n",[17,955,956,964],{"__ignoreMap":82},[86,957,958,960,962],{"class":88,"line":89},[86,959,55],{"class":92},[86,961,96],{"class":95},[86,963,100],{"class":99},[86,965,966,968,970,972,974,976],{"class":88,"line":103},[86,967,129],{"class":106},[86,969,110],{"class":99},[86,971,114],{"class":113},[86,973,313],{"class":117},[86,975,114],{"class":113},[86,977,123],{"class":99},[14,979,980,981,984],{},"Python expected the ",[17,982,983],{},"print()"," line to be indented.",[14,986,987,988],{},"Related page: ",[159,989,782],{"href":781},[361,991,993],{"id":992},"indentationerror-unindent-does-not-match-any-outer-indentation-level",[17,994,928],{},[14,996,997],{},"This happens when indentation levels do not line up correctly.",[14,999,950],{},[77,1001,1003],{"className":79,"code":1002,"language":81,"meta":82,"style":82},"if True:\n    print(\"A\")\n  print(\"B\")\n",[17,1004,1005,1013,1028],{"__ignoreMap":82},[86,1006,1007,1009,1011],{"class":88,"line":89},[86,1008,55],{"class":92},[86,1010,96],{"class":95},[86,1012,100],{"class":99},[86,1014,1015,1017,1019,1021,1024,1026],{"class":88,"line":103},[86,1016,107],{"class":106},[86,1018,110],{"class":99},[86,1020,114],{"class":113},[86,1022,1023],{"class":117},"A",[86,1025,114],{"class":113},[86,1027,123],{"class":99},[86,1029,1030,1033,1035,1037,1040,1042],{"class":88,"line":126},[86,1031,1032],{"class":106},"  print",[86,1034,110],{"class":99},[86,1036,114],{"class":113},[86,1038,1039],{"class":117},"B",[86,1041,114],{"class":113},[86,1043,123],{"class":99},[14,1045,1046],{},"The last line does not match the expected indentation structure.",[14,1048,987,1049],{},[159,1050,928],{"href":927},[361,1052,1054],{"id":1053},"syntaxerror-missing-colon",[17,1055,629],{},[14,1057,1058,1059,1062],{},"A missing colon on a line like ",[17,1060,1061],{},"if x == 1:"," can make the next indented line look wrong.",[14,1064,950],{},[77,1066,1068],{"className":79,"code":1067,"language":81,"meta":82,"style":82},"if True\n    print(\"Hello\")\n",[17,1069,1070,1077],{"__ignoreMap":82},[86,1071,1072,1074],{"class":88,"line":89},[86,1073,55],{"class":92},[86,1075,1076],{"class":95}," True\n",[86,1078,1079,1081,1083,1085,1087,1089],{"class":88,"line":103},[86,1080,107],{"class":106},[86,1082,110],{"class":99},[86,1084,114],{"class":113},[86,1086,313],{"class":117},[86,1088,114],{"class":113},[86,1090,123],{"class":99},[14,1092,987,1093],{},[159,1094,629],{"href":628},[46,1096,1098],{"id":1097},"faq","FAQ",[361,1100,1102],{"id":1101},"what-does-unexpected-indent-mean-in-python","What does unexpected indent mean in Python?",[14,1104,1105],{},"It means a line starts with spaces or tabs where Python was not expecting a new indented block.",[361,1107,1109],{"id":1108},"can-a-missing-colon-cause-this-error","Can a missing colon cause this error?",[14,1111,1112,1113,1116],{},"Yes. If a line like ",[17,1114,1115],{},"if x == 1"," is missing a colon, the next indented line may trigger an unexpected indent error.",[361,1118,1120],{"id":1119},"should-i-use-tabs-or-spaces-in-python","Should I use tabs or spaces in Python?",[14,1122,1123],{},"Use spaces. The common style is 4 spaces for each indentation level.",[361,1125,1127],{"id":1126},"why-does-copied-code-sometimes-cause-indentation-errors","Why does copied code sometimes cause indentation errors?",[14,1129,1130],{},"Copied code may include tabs, non-standard spaces, or extra leading whitespace that is hard to see.",[46,1132,1134],{"id":1133},"see-also","See also",[30,1136,1137,1141,1147,1152,1156,1160],{},[33,1138,1139],{},[159,1140,162],{"href":161},[33,1142,1143],{},[159,1144,1146],{"href":1145},"\u002Flearn\u002Fpython-syntax-basics-explained\u002F","Python syntax basics explained",[33,1148,1149],{},[159,1150,1151],{"href":889},"How to debug Python code as a beginner",[33,1153,1154],{},[159,1155,782],{"href":781},[33,1157,1158],{},[159,1159,928],{"href":927},[33,1161,1162],{},[159,1163,629],{"href":628},[1165,1166,1167],"style",{},"html pre.shiki code .sVHd0, html code.shiki .sVHd0{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit}html pre.shiki code .s39Yj, html code.shiki .s39Yj{--shiki-light:#39ADB5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sptTA, html code.shiki .sptTA{--shiki-light:#6182B8;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sjJ54, html code.shiki .sjJ54{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .smGrS, html code.shiki .smGrS{--shiki-light:#39ADB5;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .srdBf, html code.shiki .srdBf{--shiki-light:#F76D47;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .slqww, html code.shiki .slqww{--shiki-light:#6182B8;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sbgvK, html code.shiki .sbgvK{--shiki-light:#E2931D;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .stzsN, html code.shiki .stzsN{--shiki-light:#91B859;--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":82,"searchDepth":103,"depth":103,"links":1169},[1170,1171,1172,1173,1176,1177,1178,1179,1180,1185,1191],{"id":48,"depth":103,"text":49},{"id":165,"depth":103,"text":166},{"id":196,"depth":103,"text":197},{"id":275,"depth":103,"text":276,"children":1174},[1175],{"id":363,"depth":126,"text":364},{"id":534,"depth":103,"text":535},{"id":633,"depth":103,"text":634},{"id":785,"depth":103,"text":786},{"id":894,"depth":103,"text":895},{"id":931,"depth":103,"text":932,"children":1181},[1182,1183,1184],{"id":938,"depth":126,"text":782},{"id":992,"depth":126,"text":928},{"id":1053,"depth":126,"text":629},{"id":1097,"depth":103,"text":1098,"children":1186},[1187,1188,1189,1190],{"id":1101,"depth":126,"text":1102},{"id":1108,"depth":126,"text":1109},{"id":1119,"depth":126,"text":1120},{"id":1126,"depth":126,"text":1127},{"id":1133,"depth":103,"text":1134},"Master indentationerror unexpected indent fix in our comprehensive Python beginner guide.","md",{},true,"\u002Ferrors\u002Findentationerror-unexpected-indent-fix",{"title":5,"description":1192},"errors\u002Findentationerror-unexpected-indent-fix","Z416xcYcjm-LYA1MHM3j0SjAirOC_3-Pkdqc-BpGaIg",1777585505355]