結果 : explain how an input and output function is performed in python with an example