Jun-16-2021, 01:15 AM
davide73_italy,
Python is not C -- brackets are used for other purposes.
Sets use brackets, and they are used to indicate formatted attributes in an f-string.
Python's been around now for 31 years, and has made it to the top with indentation only, no brackets.
I'm an old C programmer, and didn't like indentation at first. Now it just feels natural.
Give it a chance, you'll soon learn to love it.
Python is not C -- brackets are used for other purposes.
Sets use brackets, and they are used to indicate formatted attributes in an f-string.
Python's been around now for 31 years, and has made it to the top with indentation only, no brackets.
I'm an old C programmer, and didn't like indentation at first. Now it just feels natural.
Give it a chance, you'll soon learn to love it.