{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[],"authorship_tag":"ABX9TyMk0agfv+s2oLbnlrZBaNGH"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"}},"cells":[{"cell_type":"code","execution_count":2,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"eWv-L4Upspts","executionInfo":{"status":"ok","timestamp":1717696689014,"user_tz":-330,"elapsed":4827,"user":{"displayName":"Amit Sachan","userId":"17076119069500437280"}},"outputId":"a7c385d9-5fba-4f6a-c0f7-2e13b05f5f20"},"outputs":[{"output_type":"stream","name":"stdout","text":["Enter the number whose table we want to write : 23\n","Multiplication table of 23\n","23 x 1 = 23\n","23 x 2 = 46\n","23 x 3 = 69\n","23 x 4 = 92\n","23 x 5 = 115\n","23 x 6 = 138\n","23 x 7 = 161\n","23 x 8 = 184\n","23 x 9 = 207\n","23 x 10 = 230\n"]}],"source":["## Write a program which prints a Multiplication table (from 1 to 10). The number for which table is created is given by user.\n","# Multiplication table\n","num = int(input(\"Enter the number whose table we want to write : \"))\n","print(\"Multiplication table of\", num)\n","# Iterate 10 times from i = 1 to 10\n","for i in range(1, 11):\n","     print(num, 'x', i, '=', num*i)"]},{"cell_type":"code","source":[],"metadata":{"id":"_Yf3At-gs1py"},"execution_count":null,"outputs":[]}]}