“indentation en python” Réponses codées

indentation en python

Indentation in Python refers to the (spaces and tabs) that are used at the beginning of a statement. 
Yellowed Yak

Qu'est-ce que l'indentation à Python

#indentation in python matters because indentation refers to the spaces at the 
#beginning of a code line.
#indentation in python is inportant becuse python do not use {} to ditermine  
#the part of code insted it uses indentation to understand if the code is part 
#of functon , loop, condition and etc 
#following is the example run this code in your ide and find the diffrences
#good luck to find the diffrences
if 5 > 2:
  print("Five is greater than two!")
  
if 5 > 2:
print("Five is greater than two!")

if 5 > 2:
 print("Five is greater than two!") 
if 5 > 2:
        print("Five is greater than two!") 
Programmer of empires

Réponses similaires à “indentation en python”

Questions similaires à “indentation en python”

Plus de réponses similaires à “indentation en python” dans Python

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code