+ 1

Is it compulsory to insert all the curly brackets in a piece of code. And why. And when

25th Dec 2017, 9:36 PM
James
James - avatar
2 Answers
+ 5
With curly brackets and think that is code more readable...
25th Dec 2017, 9:48 PM
Vukan
Vukan - avatar
+ 4
Codes have to be converted to 0 and 1's for the computer to understand it,curly brackets tell the computer that that is particular block of code.In Python indentation is used.Without these the computer will be messed not knowing what to process or where to start
25th Dec 2017, 9:59 PM
᠌᠌Code X
᠌᠌Code X - avatar