結果 : write a python code program for the following output