0
How to use curly brackets?
I get sometimes confused about how much code and operations should be within these brackets. I would really apreciate some help. Sorry for being such a noob, I'm new to coding and english isn't my first language. Thank you.
2 odpowiedzi
+ 7
curly brackets just mean the beginning and the end of any function, loop, conditional, class or module.
So in curly brackets you should write as many lines as you want to run under certain conditions/within the certain loop
0
the {holds your instructions}