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
The Allure of the Oil Painting Gallery: A Portal to Timeless Artistry and Investment
Why Oil Painting Galleries Still Matter in the Digital Age
Despite the rise of digital art and...
Why You Should Hire a Digital Marketing Agency in Washington DC
In today’s fast-paced online world, having a strong digital presence is more important than...
Trusted Home Renovation Services in Toronto and Richmond Hill
Home renovation projects are among the most effective ways to upgrade your living environment,...
Autologous Cell Therapy Product Market Share, Size & Growth Forecast by 2034
The worldwide "Autologous Cell Therapy Product Market" 2025 Research Report presents a...
Generic Drugs Market Research Report 2025-2034 - Industry Insights, Trends & Competitive Outlook
The most recent report published by Vantage Market Research indicates that the "Generic Drugs...
© 2025 Omaada - A global social and professionals networking platform
Portuguese
