×

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.

Pesquisar
Categorias
Leia mais
Outro
Bio-Polyamide Market Company Revenue Share Insights: Key Drivers & Trend Analysis by Fact MR
The global bio-polyamide market is valued at USD 312.68 million in 2025. As per Fact.MR...
Por Akshay Gorde 2025-05-26 18:02:35 0
Outro
Food Delivery App Development Company
EmizenTech, a leading software development company, which offers all web and mobile app...
Por Steve Jonas 2025-06-02 09:25:54 0
Outro
モーションモータコントローラの世界市場規模、シェア、動向分析調査レポート2025-2031
2025年5月20日に、QYResearch株式会社(所在地:東京都中央区)は、「モーションモータコントローラ―グローバル市場シェアとランキング、全体の売上と需要予測、2025~2031」の調査...
Por Moni Ka 2025-05-20 07:13:55 0
Electric
How the Voopoo Argus G3 Pod Kit Delivers Superior Taste
If you’re chasing that perfect puff where every flavor note pops, you’re in the right...
Por Tom Kohler 2025-05-23 14:04:52 0
Outro
Voice Biometrics Market to Register 23.48% CAGR Through 2030 | Key Drivers and Opportunities
MarkNtel Advisors recently published a detailed industry analysis of the Global Voice...
Por Jack Daniel 2025-06-02 11:56:26 0