×

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.

Rechercher
Catégories
Lire la suite
SEO
Buy Tinder Accounts
Buy Tinder Accounts   ➤Telegram: @TopSMMShops01 ➤WhatsApp: +1(848) 468–5888...
Par Topsmm Shops 2025-06-17 05:17:53 0
Information Technology
結晶性ホットメルトポリエステル樹脂市場競争分析:主要企業、ランキング、投資動向2025
2025年6月3日に、QYResearch株式会社(所在地:東京都中央区)は「結晶性ホットメルトポリエステル樹脂―グローバル市場シェアとランキング、全体の売上と需要予測、2025~2031」の最...
Par Qyresearch Jasmine1 2025-06-03 09:18:03 0
Autre
Special Glass Manufacturing Processes and Techniques
When most people think of glass, they imagine windows or drinkware—simple, clear, and...
Par Shubham Gurav 2025-06-17 11:30:40 0
Fitness
Why Advanced Lifters Choose YK-11 Injectable for Dry Mass
When the goal shifts from average gains to sculpted, dry muscle mass, experienced bodybuilders...
Par Mark Johnson 2025-06-23 10:24:23 0