“Indentasi dalam Python” Kode Jawaban

Indentasi dalam Python

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

apa lekukan dalam 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

Jawaban yang mirip dengan “Indentasi dalam Python”

Pertanyaan yang mirip dengan “Indentasi dalam Python”

Lebih banyak jawaban terkait untuk “Indentasi dalam Python” di Python

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya