Node single property variable not working?
You should use node_tree.nodes["Math"].inputs[0].default_value

When you open Outliner and select Datablocks in the header you can see and list the data structure.