04 Python uses Identation to indicate the code block
Сообщение 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.
Поиск
Категории
- Information Technology
- Office Equipment and Supplies
- Cars and Trucks
- Persons
- Books and Authors
- Tutorials
- Art
- Causes
- Crafts
- Dance
- Drinks
- Film
- Fitness
- Food
- Игры
- Gardening
- Health
- Главная
- Literature
- Music
- Networking
- Другое
- Party
- Religion
- Shopping
- Sports
- Theater
- Wellness
Больше
Dry Mix Sprayed Concrete Market at a CAGR of 8.2% during the forecast period of 2024 to 2031.
Executive Summary Dry Mix Sprayed Concrete Market :
The global dry mix sprayed concrete...
Hot Fill Packaging Market Heats Up with Expanding Ready-to-Drink Beverage Sector
"Executive Summary Hot Fill Packaging Market :
Data Bridge Market Research analyses...
世界の水溶性植物エキス市場規模2025-2031:競合状況、需要分析、成長予測
QYResearch株式会社(所在地:東京都中央区)は、最新の調査資料「水溶性植物エキス―グローバル市場シェアとランキング、全体の売上と需要予測、2025~2031」を2025年7月21日より発...
Harvesting Robots Market Demand: Growth, Share, Value, Scope, and Analysis
"Executive Summary Harvesting Robots Market :
Data Bridge Market Research analyses that...
Who’s Winning in the Vetiver Oil Market? Competitive Insights & Forecast
"Executive Summary Vetiver Oil Market :
CAGR Value
The global vetiver oil market size...
© 2025 Omaada - A global social and professionals networking platform
Russian
