If I write a mathematical algorithm. ( something that might become part of a computer program) and I need to assign a value to a variable. I normally just write something like this "set x to something" or "set x=something"

But in math you have notations for everything. Is there a notation or this?