Path 1: 3 calls (1.0)

'hello world\n' (1) '' (1) 'abc' (1)

0 (3)

1def write(self, text: str) -> int:
2        return 0