Understanding The Stdinstdout And Printrawinput Difference In Python