+ 1
is it possible to use braces to delimit the block of code?
5 Réponses
+ 1
No, it is not possible.
Why do you want to do that?
+ 1
just asking because of the knowledge from other languages
+ 1
thanks anyway
+ 1
thanks for the help. I've been writing C++ for a while now and decided to take up python
0
Not all languages use braces to delimit blocks of code.
A lot of them rely on keywords (such as 'begin' and 'end', for instance), others like python rely on indentation, etc...
It is part of the syntax of the language, and you cannot change it.