×

To install this app on your iPhone, tap Share 🔗 then Add to Home Screen.

04 Python uses Identation to indicate the code block

0
57

The spaces at the beginning of a code line is called as Identation.

In other Programming languages Identation or Spaces in the beginning of the code if just for readability but In Python it makes difference. The indentation in Python is very important. Python uses indentation to indicate a block of code.

For Example:

if 5 > 2:
  print("Five is greater than two!")

In above example when you make identation before print statement after IF statement, it is considered as the code block for IF statement.

and

if 5 > 2:
print("Five is greater than two!")

the above code will give you syntax error.

Search
Categories
Read More
Other
Artificial Intelligence In Accounting Market Booming in Size in 2025
The most recent report published by Vantage Market Research indicates that the "Artificial...
By ASHWINI GOURKHEDE 2025-05-27 05:30:19 0
Other
String PV Inverter Market Size, Growth & Research Report (2025-2033) | UnivDatos
According to the UnivDatos Market Insights, the rise of renewable energy solutions and increasing...
By Ahasan Ali 2025-05-12 13:04:24 0
Other
プラスチック用リン系難燃剤市場調査2025:規模シェア、最新動向、産業分析、成長機会
2025年6月6日に、YH Research株式会社(本社:東京都中央区)は、調査レポート「グローバルプラスチック用リン系難燃剤のトップ会社の市場シェアおよびランキング...
By Krystal Lin 2025-06-06 06:23:06 0
Other
White Label Facebook Ads
UpHex is a strategic partnership model whereby one firm offers White Label Facebook Ads and...
By Melvino Leson 2025-05-19 15:12:33 0