PYTHON | Indentation
in this post you can learn about Indentation in python with pythonpath,in which you can learn indention means some whitespace is important for your code structure otherwise it will display error
![python indentation python indentation error fix,python indentation](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtw5cVBODwNimUm6EzQmreTeYyZWQ8AoVvGdv3oCNGXkG7TPPuCW86r07Wo0ncIbzK1bpnvni-MSXscZUw79GZdXBflaYT9WSYe5Hr0qlfm9W5P7yHkhISRDP2G2jDkJkBYzvRkauBxQk/w400-h267/1652757127229902-0.png)
python indentation error fix|pythonwithyp
![python indentation python indentation error fix,python indentation](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtw5cVBODwNimUm6EzQmreTeYyZWQ8AoVvGdv3oCNGXkG7TPPuCW86r07Wo0ncIbzK1bpnvni-MSXscZUw79GZdXBflaYT9WSYe5Hr0qlfm9W5P7yHkhISRDP2G2jDkJkBYzvRkauBxQk/w400-h267/1652757127229902-0.png)
Python : Indentation
- indentation concept in python very important compared to other languages
- Whitespace is used for indentation in Python
- Python uses indentation to indicate a block of code.
Example
if 15 > 2:
print("Ffteen is greater than two")
print("Ffteen is greater than two")
This code shows the indentation Error
Example
if 15 > 2:
print("Ffteen is greater than two!")
print("Ffteen is greater than two!")
Also See