04 Python uses Identation to indicate the code block
Postado 2022-10-08 11:43:19
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
- Information Technology
- Office Equipment and Supplies
- Cars and Trucks
- Persons
- Books and Authors
- Tutorials
- Art
- Causes
- Crafts
- Dance
- Drinks
- Film
- Fitness
- Food
- Jogos
- Gardening
- Health
- Início
- Literature
- Music
- Networking
- Outro
- Party
- Religion
- Shopping
- Sports
- Theater
- Wellness
Leia mais
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...
Food Delivery App Development Company
EmizenTech, a leading software development company, which offers all web and mobile app...
モーションモータコントローラの世界市場規模、シェア、動向分析調査レポート2025-2031
2025年5月20日に、QYResearch株式会社(所在地:東京都中央区)は、「モーションモータコントローラ―グローバル市場シェアとランキング、全体の売上と需要予測、2025~2031」の調査...
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...
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...
© 2025 Omaada - A global social and professionals networking platform
Portuguese (Brazil)
