Task

Demonstrate any means your language has to prevent the modification of values, or to create objects that cannot be modified after they have been created.




def x := 1
 
x := 2  # this is an error