[python] add text to number
[python] add the major element