Personally I wouldn’t abuse a language like that. If you want to write Python, write Python. Don’t pretend some other language is Python, because it isn’t. The braces need to be in the “correct” place, i.e. { at the end of a line or on a line on its own, and } on its own line, with both braces indented correctly for the code they contain. Braces are important visual and logical indicators in C-like languages and are critical in understanding the flow of the code.
That said, if this is some silly little noddy program that only you will ever see then you can write it however you want. Don’t expect to be taken seriously as a competent dev though if this is going to be part of your public profile.
Personally I wouldn’t abuse a language like that. If you want to write Python, write Python. Don’t pretend some other language is Python, because it isn’t. The braces need to be in the “correct” place, i.e. { at the end of a line or on a line on its own, and } on its own line, with both braces indented correctly for the code they contain. Braces are important visual and logical indicators in C-like languages and are critical in understanding the flow of the code.
That said, if this is some silly little noddy program that only you will ever see then you can write it however you want. Don’t expect to be taken seriously as a competent dev though if this is going to be part of your public profile.