The symbolic form of chmod can copy bits from one class to another, which octal cannot express.
chmod g=u,o= notes.txt
ls -l notes.txt
g=u sets the group permissions to whatever the owner has, and o= clears everything for others. The letters u, g and o on the right side mean “copy from this class”. The result follows the file: with 640 it becomes 660, with 700 it becomes 770. That makes it safe in a script where files have different modes.
Further reading: chmod manual page