{"id":51,"date":"2026-03-01T15:02:15","date_gmt":"2026-03-01T10:02:15","guid":{"rendered":"https:\/\/gigz.pk\/python\/?post_type=lesson&#038;p=51"},"modified":"2026-03-13T08:55:35","modified_gmt":"2026-03-13T03:55:35","slug":"arithmetic-operators","status":"publish","type":"lesson","link":"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/","title":{"rendered":"Arithmetic Operators"},"content":{"rendered":"\n<p>Arithmetic operators are used to perform mathematical calculations in Python. They allow you to add, subtract, multiply, divide, and perform other numeric operations. These operators are commonly used in calculations, financial programs, data analysis, and many real world applications.<\/p>\n\n\n\n<p>Understanding arithmetic operators is essential for building logical and calculation based programs.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>ADDITION OPERATOR<\/strong><\/h1>\n\n\n\n<p>The addition operator is represented by the plus sign.<\/p>\n\n\n\n<p>Symbol: +<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>x = 10<br>y = 5<br>print(x + y)<\/p>\n\n\n\n<p>Output will be 15.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>SUBTRACTION OPERATOR<\/strong><\/h1>\n\n\n\n<p>The subtraction operator is represented by the minus sign.<\/p>\n\n\n\n<p>Symbol: &#8211;<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>x = 10<br>y = 5<br>print(x &#8211; y)<\/p>\n\n\n\n<p>Output will be 5.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>MULTIPLICATION OPERATOR<\/strong><\/h1>\n\n\n\n<p>The multiplication operator is represented by the asterisk symbol.<\/p>\n\n\n\n<p>Symbol: *<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>x = 10<br>y = 5<br>print(x * y)<\/p>\n\n\n\n<p>Output will be 50.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>DIVISION OPERATOR<\/strong><\/h1>\n\n\n\n<p>The division operator divides one number by another.<\/p>\n\n\n\n<p>Symbol: \/<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>x = 10<br>y = 5<br>print(x \/ y)<\/p>\n\n\n\n<p>Output will be 2.0<\/p>\n\n\n\n<p>Note that division always returns a float value in Python.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>FLOOR DIVISION OPERATOR<\/strong><\/h1>\n\n\n\n<p>Floor division removes the decimal part and returns only the whole number.<\/p>\n\n\n\n<p>Symbol: \/\/<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>x = 10<br>y = 3<br>print(x \/\/ y)<\/p>\n\n\n\n<p>Output will be 3.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>MODULUS OPERATOR<\/strong><\/h1>\n\n\n\n<p>The modulus operator returns the remainder after division.<\/p>\n\n\n\n<p>Symbol: %<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>x = 10<br>y = 3<br>print(x % y)<\/p>\n\n\n\n<p>Output will be 1.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>EXPONENT OPERATOR<\/strong><\/h1>\n\n\n\n<p>The exponent operator is used to calculate the power of a number.<\/p>\n\n\n\n<p>Symbol: **<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<p>x = 2<br>y = 3<br>print(x ** y)<\/p>\n\n\n\n<p>Output will be 8.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>IMPORTANCE OF ARITHMETIC OPERATORS<\/strong><\/h1>\n\n\n\n<p>Arithmetic operators are fundamental in programming. They are used in calculations, financial systems, statistical analysis, and logical problem solving.<\/p>\n\n\n\n<p>Mastering arithmetic operators helps you build strong mathematical logic and create efficient Python programs.<\/p>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1773373926438\"><strong class=\"schema-faq-question\"><\/strong> <p class=\"schema-faq-answer\"><\/p> <\/div> <\/div>\n\n\n<div class=\"yoast-breadcrumbs\"><span><span><a href=\"https:\/\/gigz.pk\/python\/\">Home<\/a><\/span> \u00bb <span class=\"breadcrumb_last\" aria-current=\"page\">PYTHON FUNDAMENTALS (PYF) > Operators > Arithmetic Operators<\/span><\/span><\/div>","protected":false},"menu_order":11,"template":"","class_list":["post-51","lesson","type-lesson","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Arithmetic Operators - One Language. Endless Possibilities<\/title>\n<meta name=\"description\" content=\"Learn Python arithmetic operators like +, -, *, \/, %, \/\/, and ** to perform mathematical calculations and build logical programs.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Arithmetic Operators - One Language. Endless Possibilities\" \/>\n<meta property=\"og:description\" content=\"Learn Python arithmetic operators like +, -, *, \/, %, \/\/, and ** to perform mathematical calculations and build logical programs.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/\" \/>\n<meta property=\"og:site_name\" content=\"One Language. Endless Possibilities\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-13T03:55:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/arithmetic-operators\\\/\",\"url\":\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/arithmetic-operators\\\/\",\"name\":\"Arithmetic Operators - One Language. Endless Possibilities\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/#website\"},\"datePublished\":\"2026-03-01T10:02:15+00:00\",\"dateModified\":\"2026-03-13T03:55:35+00:00\",\"description\":\"Learn Python arithmetic operators like +, -, *, \\\/, %, \\\/\\\/, and ** to perform mathematical calculations and build logical programs.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/arithmetic-operators\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/arithmetic-operators\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/lesson\\\/arithmetic-operators\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gigz.pk\\\/python\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PYTHON FUNDAMENTALS (PYF) > Operators > Arithmetic Operators\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gigz.pk\\\/python\\\/#website\",\"url\":\"https:\\\/\\\/gigz.pk\\\/python\\\/\",\"name\":\"One Language. Endless Possibilities\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gigz.pk\\\/python\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Arithmetic Operators - One Language. Endless Possibilities","description":"Learn Python arithmetic operators like +, -, *, \/, %, \/\/, and ** to perform mathematical calculations and build logical programs.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/","og_locale":"en_US","og_type":"article","og_title":"Arithmetic Operators - One Language. Endless Possibilities","og_description":"Learn Python arithmetic operators like +, -, *, \/, %, \/\/, and ** to perform mathematical calculations and build logical programs.","og_url":"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/","og_site_name":"One Language. Endless Possibilities","article_modified_time":"2026-03-13T03:55:35+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["WebPage","FAQPage"],"@id":"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/","url":"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/","name":"Arithmetic Operators - One Language. Endless Possibilities","isPartOf":{"@id":"https:\/\/gigz.pk\/python\/#website"},"datePublished":"2026-03-01T10:02:15+00:00","dateModified":"2026-03-13T03:55:35+00:00","description":"Learn Python arithmetic operators like +, -, *, \/, %, \/\/, and ** to perform mathematical calculations and build logical programs.","breadcrumb":{"@id":"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gigz.pk\/python\/lesson\/arithmetic-operators\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gigz.pk\/python\/"},{"@type":"ListItem","position":2,"name":"PYTHON FUNDAMENTALS (PYF) > Operators > Arithmetic Operators"}]},{"@type":"WebSite","@id":"https:\/\/gigz.pk\/python\/#website","url":"https:\/\/gigz.pk\/python\/","name":"One Language. Endless Possibilities","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gigz.pk\/python\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/gigz.pk\/python\/wp-json\/wp\/v2\/lesson\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gigz.pk\/python\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/gigz.pk\/python\/wp-json\/wp\/v2\/types\/lesson"}],"wp:attachment":[{"href":"https:\/\/gigz.pk\/python\/wp-json\/wp\/v2\/media?parent=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}