{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"printWithoutAutoNL.ipynb","provenance":[],"collapsed_sections":[]},"kernelspec":{"name":"python3","display_name":"Python 3"}},"cells":[{"cell_type":"code","metadata":{"id":"V3I7yPUJ23Er","colab_type":"code","colab":{}},"source":["#\n","# print without auto NL (Python 2)\n","#\n","print \"Good Morning!\",\n","print \"What a wonderful day!\""],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"8bFYVNw62-CZ","colab_type":"code","colab":{"base_uri":"https://localhost:8080/","height":84},"outputId":"27bfbda6-efff-44bb-f35d-94d4fbe2d01c","executionInfo":{"status":"ok","timestamp":1570009782814,"user_tz":-480,"elapsed":639,"user":{"displayName":"Jing-Shin Chang","photoUrl":"https://lh3.googleusercontent.com/a-/AAuE7mAmHbLfRqBRIKkV8rnjNfEvSMv2SCT0HilywbAiNA=s64","userId":"15197877904549270491"}}},"source":["#\n","# print without auto NL (Python 3)\n","#\n","\n","print(\"1- Good Morning!\", end = '')\n","print(\"What a wonderful day!\")\n","\n","print(\"2- Good Morning! \", end = '')\n","print(\"What a wonderful day!\")\n","\n","print(\"3- Good Morning! \", end = '12345 67890 ')\n","print(\"What a wonderful day!\")\n","\n","print(\"4- Good Morning!\", \"Hello World\", end = '=***')\n","print(\"What a wonderful day!\")"],"execution_count":9,"outputs":[{"output_type":"stream","text":["1- Good Morning!What a wonderful day!\n","2- Good Morning! What a wonderful day!\n","3- Good Morning! 12345 67890 What a wonderful day!\n","4- Good Morning! Hello World=***What a wonderful day!\n"],"name":"stdout"}]}]}