Miscellaneous question


#1

HI, this is not very important but I was wondering: on the examples of functions the function (def cheese(x))
the 'cheese' part shows up red on the example but not on your code. Is this intentional?


#2

The example may be from a different editor and is just a screen shot. Nothing intentional, except to provide a code pattern. We can ignore the colors. It is called 'syntax highlighting' and will vary from one program to the next. It is a common feature in most text editors intended for coding.

    def cheese(x):
        # comment
        return x

Above is the color scheme for Python code in this composer.


#3

Ok thanks I was a little confused about the coloring :slight_smile:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.