[Tutorial ] working with child table with python

I am experiencing a very strange issue here with child tables Weird behavior while removing child record using self.remove in ERPNext: v12.9.3 (master)

Can anyone help please