Python Equal Code On Equal Input Data Has Different Output Stack Overflow

Python Equal Code On Equal Input Data Has Different Output Stack Overflow