Unexpected double output in setup() - Why???

the double printout comes only, when uploading the sketch

At what point do you open the Serial monitor to see the output ? If you simply upload the code you will not see any output.

Which Arduino board are you using ?