Post

Python Programming
Python Programming@PythonPr·
What is The Difference ❓Comment The Output
Python Programming tweet media
English
15
4
55
8.6K
Sergei Kotov
Sergei Kotov@kotov_dev·
@PythonPr In Python indentation is not style — it's logic! One extra space and your code breaks or runs differently.
English
1
0
5
225
Kamal Gurjar
Kamal Gurjar@KamalGurjar8·
@PythonPr In the “Incorrect Code” the print(lst) line has extra indentation (a leading space/tab) even though it’s not inside any block (if/for/def/class).
English
0
0
3
275
K.AMMAAR
K.AMMAAR@k_ammaar12·
@PythonPr The identation is the difference.
English
0
0
1
164
veltra
veltra@sandeshkuo6m·
@PythonPr append is a composition not a function.
English
0
0
0
21
Nabil
Nabil@BilLearnsData·
@PythonPr Python is indentation sensitive
Deutsch
0
0
0
8
Jenny
Jenny@JennyTheDev·
@PythonPr Right side has print() indented like it owes rent to append() Python said "that's not how scope works"
English
0
0
0
148
RibomX
RibomX@RibomX·
@PythonPr Incorrect code use tabulator
Português
0
0
0
108
Paylaş