結果 : explain the functions for taking input and printing output in a python program