The use of the default in this code

I have been trying to run the code below a copy of a code I found on internet but I keep on getting errors, the comment preceding the use of default seems to be the cause, I have been looking on how to write the correct code without success

image

It's difficult to say without more context, but I can guarantee that default: 1 is not a problem. Comments have no influence on the code you are running.

What error are you getting?

Dear Misha indeed you are right the comment did not play any part into it. It is now working. Thanks

1 Like