+ 1

Can you still use curly braces just to help visualize?

9th Aug 2016, 2:24 PM
Kyle Vassilo
Kyle Vassilo - avatar
2 Answers
+ 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)
9th Aug 2016, 4:15 PM
penktadienis0
penktadienis0 - avatar
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
10th Aug 2016, 8:15 PM
RedAnt
RedAnt - avatar