0

Python equivalence to js

So {} in js = : in python

26th Jul 2019, 5:57 AM
Ben
Ben - avatar
2 Respostas
+ 1
not that simple in Python, you need to indent the code blocks, meaning leaving same number of space at front of each line
26th Jul 2019, 7:20 AM
Gordon
Gordon - avatar
0
.. the exact number of spaces (or tabs)
26th Jul 2019, 11:00 AM
zemiak