{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"Copy of add2.0.ipynb","provenance":[{"file_id":"12ofYTeJtsYrkX3071PWIcyk1m2-lBKsD","timestamp":1569956651494}],"collapsed_sections":[]},"kernelspec":{"name":"python2","display_name":"Python 2"}},"cells":[{"cell_type":"markdown","metadata":{"id":"jF8Kuv3_smfR","colab_type":"text"},"source":["add2.0.py"]},{"cell_type":"code","metadata":{"id":"xLablRphqlBU","colab_type":"code","colab":{"base_uri":"https://localhost:8080/","height":67},"outputId":"8fcf1291-b00e-4e0b-c642-bb940cfa1206","executionInfo":{"status":"ok","timestamp":1569956577360,"user_tz":-480,"elapsed":11873,"user":{"displayName":"Jing-Shin Chang","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAmHbLfRqBRIKkV8rnjNfEvSMv2SCT0HilywbAiNA=s64","userId":"15197877904549270491"}}},"source":["N1 = input(\"Enter the 1st Number (N1) \")\n","N2 = input(\"Enter the 2nd Number (N2) \")\n","Sum = N1 + N2\n","# print (\"The Sum is\", Sum)\n","print (\"The Sum is %d\" % Sum)"],"execution_count":2,"outputs":[{"output_type":"stream","text":["Enter the 1st Number (N1) 12\n","Enter the 2nd Number (N2) 34\n","The Sum is 46\n"],"name":"stdout"}]},{"cell_type":"markdown","metadata":{"id":"0guEn9wusKPL","colab_type":"text"},"source":["This is add2.1.py"]},{"cell_type":"code","metadata":{"id":"lllWNscmsSIP","colab_type":"code","colab":{"base_uri":"https://localhost:8080/","height":67},"outputId":"cf5849f7-1aeb-4790-cc82-b01c4ad52fd9","executionInfo":{"status":"ok","timestamp":1569956604208,"user_tz":-480,"elapsed":12286,"user":{"displayName":"Jing-Shin Chang","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAmHbLfRqBRIKkV8rnjNfEvSMv2SCT0HilywbAiNA=s64","userId":"15197877904549270491"}}},"source":["N1 = input(\"Enter the 1st Number (N1) \")\n","N2 = input(\"Enter the 2nd Number (N2) \")\n","Sum = N1 + N2\n","# print (\"The Sum is \", Sum)\n","print (\"The Sum of %d + %d is %d\" % (N1, N2, Sum))"],"execution_count":3,"outputs":[{"output_type":"stream","text":["Enter the 1st Number (N1) 123\n","Enter the 2nd Number (N2) 321\n","The Sum of 123 + 321 is 444\n"],"name":"stdout"}]},{"cell_type":"markdown","metadata":{"id":"yy_OlYQ7sUHU","colab_type":"text"},"source":["add2.2.py"]},{"cell_type":"code","metadata":{"id":"1k-2cqiRsdEH","colab_type":"code","colab":{"base_uri":"https://localhost:8080/","height":84},"outputId":"e6779220-0375-45bc-b0bf-d1f1e87ffc2e","executionInfo":{"status":"ok","timestamp":1569956625604,"user_tz":-480,"elapsed":16003,"user":{"displayName":"Jing-Shin Chang","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAmHbLfRqBRIKkV8rnjNfEvSMv2SCT0HilywbAiNA=s64","userId":"15197877904549270491"}}},"source":["N1 = input(\"Enter the 1st Number (N1) \")\n","N2 = input(\"Enter the 2nd Number (N2) \")\n","Sum = N1 + N2\n","print (\"The Sum is %d\" % Sum)\n","print (\"The Sum of %d + %d is %d\" % (N1, N2, Sum))"],"execution_count":4,"outputs":[{"output_type":"stream","text":["Enter the 1st Number (N1) 100\n","Enter the 2nd Number (N2) 321\n","The Sum is 421\n","The Sum of 100 + 321 is 421\n"],"name":"stdout"}]}]}