×

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.

Buscar
Categorías
Read More
Juegos
온라인 베팅을 안전하게 이용하는 방법: 사기 검증 토토사이트 이해하기
온라인 도박은 스릴 넘치고 효율적이며 가치 있는 일처럼 들리기 때문에, 도박을 즐기는 사람이든 가끔씩 하는 사람이든 대부분의 사람들이 온라인 도박에 열광하는 것입니다. 하지만...
By Ben Paxton 2025-05-20 09:47:14 0
Other
UPS Battery Market Analysis, Opportunities & Forecast 2025
UPS Battery Market Size: The UPS battery market size represents a critical metric that reflects...
By Reshama Patil 2025-06-02 06:36:48 0
Other
The Rise of The Weeknd’s Fashion Influence
In recent years, The Weeknd has not only dominated the global music scene with his chart-topping...
By Hoodiesand Tshirt1122 2025-06-03 06:15:07 0
Other
Japan Prepaid Cards Market Scope, Trends and Opportunity 2025-2033
Japan Prepaid Cards Market Overview Market Statistics Base Year: 2024 Historical...
By Harutoleo Leo 2025-05-28 09:10:12 0