+ 1
Can you still use curly braces just to help visualize?
2 odpowiedzi
+ 1
In python space indentation is used to define program blocks. And actually its more convenient as compared to "C-like" languages since you dont need to care about missing curly brace.
In python curly braces are used to define a dictionary (py data type that maps key and value pair)
0
i guess you could use #{ and #} to visualize program blocks if you really have to, but i think it is a better idea to get used to spaces