{"id":24883,"date":"2023-03-25T14:26:07","date_gmt":"2023-03-25T08:56:07","guid":{"rendered":"https:\/\/tocxten.com\/?page_id=24883"},"modified":"2023-11-19T17:00:30","modified_gmt":"2023-11-19T11:30:30","slug":"operators-and-expressions-in-python","status":"publish","type":"page","link":"https:\/\/tocxten.com\/index.php\/operators-and-expressions-in-python\/","title":{"rendered":"Expressions, Statements and Operators in Python"},"content":{"rendered":"\n<p>In Python, expressions and statements are fundamental concepts that form the building blocks of code. Let&#8217;s discuss each one:<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-large-font-size\">Expressions:<\/h3>\n\n\n\n<p class=\"has-medium-font-size\">An expression is a combination of values, variables, and operators that can be evaluated to a single value. In other words, it produces a result. Expressions can include literals, variables, and function calls.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Examples of expressions:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code># Arithmetic expression\r\nresult = 2 + 3 * 4\r\n\r\n# String concatenation expression\r\ngreeting = \"Hello\" + \" \" + \"World\"\r\n\r\n# Function call expression\r\nlength = len(\"Python\")\r\n\r\n# Comparison expression\r\nis_equal = (5 == 5)\r\n<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">In the examples above, each line represents an expression that produces a value. Expressions can be simple or complex, involving multiple operators and operands.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-large-font-size\">Statements:<\/h3>\n\n\n\n<p class=\"has-medium-font-size\">A statement is a complete line of code that performs an action. Unlike expressions, statements do not necessarily produce a value. Python is an i<strong>mperative programming language<\/strong>, meaning that most of the code consists of statements that instruct the computer to perform certain actions.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Examples of statements:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code># Assignment statement\r\nx = 10\r\n\r\n# Conditional statement\r\nif x > 5:\r\n    print(\"x is greater than 5\")\r\nelse:\r\n    print(\"x is not greater than 5\")\r\n\r\n# Loop statement\r\nfor i in range(5):\r\n    print(i)\r\n<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">In the examples above:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-medium-font-size\">The assignment statement (<code>x = 10<\/code>) assigns the value <code>10<\/code> to the variable <code>x<\/code>.<\/li>\n\n\n\n<li class=\"has-medium-font-size\">The conditional statement (<code>if<\/code> and <code>else<\/code>) checks whether <code>x<\/code> is greater than 5 and prints a message accordingly.<\/li>\n\n\n\n<li class=\"has-medium-font-size\">The loop statement (<code>for i in range(5)<\/code>) iterates over the range of values and prints each value of <code>i<\/code>.<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\">It&#8217;s important to note that expressions can be part of statements. For example, in the assignment statement <code>x = 10<\/code>, the right side contains the expression <code>10<\/code>, which is evaluated and assigned to the variable <code>x<\/code>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Understanding the distinction between expressions and statements is crucial for writing effective and readable Python code. Expressions are the building blocks that produce values, and statements are the instructions that make your program do something.<\/p>\n\n\n\n<p class=\"has-large-font-size\"><strong>Operators <\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">In Python, operators are special symbols or reserved words that perform specific actions on operands (values or variables) to create expressions. Expressions are combinations of operators and operands that evaluate to a value. Here are some of the most commonly used operators and expressions in Python:<\/p>\n\n\n\n<ol style=\"background-color:#e8eff2;font-size:28px\" class=\"has-background wp-block-list\">\n<li><strong>Arithmetic Operators:<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">Arithmetic operators are used to perform mathematical operations on numerical values. The common arithmetic operators in Python are:<\/p>\n\n\n\n<ul class=\"has-medium-font-size wp-block-list\">\n<li>Addition (+)<\/li>\n\n\n\n<li>Subtraction (-)<\/li>\n\n\n\n<li>Multiplication (*)<\/li>\n\n\n\n<li>Division (\/)<\/li>\n\n\n\n<li>Modulus (%)<\/li>\n\n\n\n<li>Exponentiation (**)<\/li>\n\n\n\n<li>Floor Division (\/\/)<\/li>\n<\/ul>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>a = 10\nb = 3<\/strong>\n\nprint(a + b)   # Output: 13\nprint(a - b)   # Output: 7\nprint(a * b)   # Output: 30\nprint(a \/ b)   # Output: 3.3333333333333335\nprint(a % b)   # Output: 1\nprint(a ** b)  # Output: 1000\nprint(a \/\/ b)  # Output: 3<\/code><\/pre>\n\n\n\n<ol start=\"2\" style=\"background-color:#d3dee3;font-size:28px\" class=\"has-background wp-block-list\">\n<li><strong>Comparison Operators:<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">Comparison operators are used to compare two values and return a Boolean value (True or False). The common comparison operators in Python are:<\/p>\n\n\n\n<ul class=\"has-medium-font-size wp-block-list\">\n<li>Equal to (==)<\/li>\n\n\n\n<li>Not equal to (!=)<\/li>\n\n\n\n<li>Greater than (&gt;)<\/li>\n\n\n\n<li>Less than (&lt;)<\/li>\n\n\n\n<li>Greater than or equal to (&gt;=)<\/li>\n\n\n\n<li>Less than or equal to (&lt;=)<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 10\nb = 3\n\nprint(a == b)   # Output: False\nprint(a != b)   # Output: True\nprint(a &gt; b)    # Output: True\nprint(a &lt; b)    # Output: False\nprint(a &gt;= b)   # Output: True\nprint(a &lt;= b)   # Output: False<\/code><\/pre>\n\n\n\n<p style=\"font-size:28px\"><strong>Difference between == and = Operator<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-left\" data-align=\"left\"><strong>=<\/strong><\/td><td><strong>==<\/strong><\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">It is an assignment operator<\/td><td>It is a comparison operator<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">It is used for assigning the value to a variable<\/td><td>It is used for comparing two values. &nbsp;It returns 1 if both the value is equal otherwise returns 0<\/td><\/tr><tr><td class=\"has-text-align-left\" data-align=\"left\">Constant term cannot be place on left hand side&nbsp;<strong>Example:<\/strong>&nbsp;1= x; is invalid<\/td><td>Constant term can be placed in the left-hand side. Example: 1 ==1 is valid and return 1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ol start=\"3\" style=\"background-color:#ccd8de;font-size:28px\" class=\"has-background wp-block-list\">\n<li><strong>Logical Operators:<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">Logical operators are used to combine multiple conditions and return a Boolean value. The common logical operators in Python are:<\/p>\n\n\n\n<ul class=\"has-medium-font-size wp-block-list\">\n<li>and<\/li>\n\n\n\n<li>or<\/li>\n\n\n\n<li>not<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 10\nb = 3\n\nprint(a &gt; 5 and b &gt; 2)   # Output: True\nprint(a &gt; 5 or b &gt; 5)    # Output: True\nprint(not(a &gt; 5))        # Output: False<\/code><\/pre>\n\n\n\n<ol start=\"4\" style=\"background-color:#d7e0e4;font-size:28px\" class=\"has-background wp-block-list\">\n<li><strong>Assignment Operators:<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">Assignment operators are used to assign values to variables. The common assignment operators in Python are:<\/p>\n\n\n\n<ul class=\"has-medium-font-size wp-block-list\">\n<li>= (Simple Assignment)<\/li>\n\n\n\n<li>+= (Addition Assignment)<\/li>\n\n\n\n<li>-= (Subtraction Assignment)<\/li>\n\n\n\n<li>*= (Multiplication Assignment)<\/li>\n\n\n\n<li>\/= (Division Assignment)<\/li>\n\n\n\n<li>%= (Modulus Assignment)<\/li>\n\n\n\n<li>**= (Exponentiation Assignment)<\/li>\n\n\n\n<li>\/\/= (Floor Division Assignment)<\/li>\n<\/ul>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 10\nb = 3\n\na += b   # equivalent to a = a + b\nprint(a) # Output: 13\n\na **= b  # equivalent to a = a ** b\nprint(a) # Output: 2197<\/code><\/pre>\n\n\n\n<p class=\"has-background\" style=\"background-color:#dae5ea;font-size:28px\">5. <strong>Bitwise Operators <\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">In Python, bitwise operators perform operations on the binary representation of integer values. They operate on each bit of the binary representation separately. Here are the commonly used bitwise operators in Python:<\/p>\n\n\n\n<ol class=\"has-medium-font-size wp-block-list\">\n<li><strong>Bitwise AND (&amp;):<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">The bitwise AND operator returns a 1 in each bit position where both corresponding bits in the operands are 1, otherwise, it returns a 0.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 60   # 0011 1100\nb = 13   # 0000 1101\nc = a &amp; b # 0000 1100\nprint(c)  # Output: 12<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">2.<strong> Bitwise OR (|):<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">The bitwise OR operator returns a 1 in each bit position where at least one corresponding bit in the operands is 1, otherwise, it returns a 0.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 60   # 0011 1100\nb = 13   # 0000 1101\nc = a | b # 0011 1101\nprint(c)  # Output: 61<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">3. <strong>Bitwise XOR (^):<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">The bitwise XOR operator returns a 1 in each bit position where only one corresponding bit in the operands is 1, otherwise, it returns a 0.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 60   # 0011 1100\nb = 13   # 0000 1101\nc = a ^ b # 0011 0001\nprint(c)  # Output: 49<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">4. <strong>Bitwise NOT (~):<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">The bitwise NOT operator returns the complement of the binary representation of the operand.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 60   # 0011 1100\nb = ~a   # 1100 0011\nprint(b)  # Output: -61<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">Note that the result is a negative value because the bitwise NOT operator changes the sign bit of the binary representation of the operand.<\/p>\n\n\n\n<ol start=\"5\" class=\"has-medium-font-size wp-block-list\">\n<li><strong>Left Shift (&lt;&lt;):<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">The left shift operator shifts the binary representation of the left operand to the left by the number of bits specified by the right operand.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 60    # 0011 1100\nb = a &lt;&lt; 2 # 1111 0000\nprint(b)   # Output: 240<\/code><\/pre>\n\n\n\n<ol start=\"6\" class=\"has-medium-font-size wp-block-list\">\n<li><strong>Right Shift (&gt;&gt;):<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">The right shift operator shifts the binary representation of the left operand to the right by the number of bits specified by the right operand.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = 60    # 0011 1100\nb = a &gt;&gt; 2 # 0000 1111\nprint(b)   # Output: 15<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">These are the common bitwise operators in Python. Understanding them will help you write more efficient and effective Python programs.<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#dce4e8;font-size:28px\"><strong>6. Identity Operators <\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">In Python, identity operators are used to compare the memory locations of two objects. These operators return <code>True<\/code> if the objects referred to by the variables on either side of the operator are the same object, otherwise, they return <code>False<\/code>. Here are the two identity operators in Python:<\/p>\n\n\n\n<ol class=\"has-medium-font-size wp-block-list\">\n<li><strong>is Operator:<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">The <code>is<\/code> operator returns <code>True<\/code> if the variables on either side of the operator refer to the same object, otherwise, it returns <code>False<\/code>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = &#91;1, 2, 3]\nb = a\nc = &#91;1, 2, 3]\n\nprint(a is b) # Output: True\nprint(a is c) # Output: False<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">In the example above, the <code>is<\/code> operator returns <code>True<\/code> when comparing <code>a<\/code> and <code>b<\/code> because they both refer to the same object in memory, while it returns <code>False<\/code> when comparing <code>a<\/code> and <code>c<\/code> because they refer to different objects in memory.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">2. <strong>is not Operator:<\/strong><\/p>\n\n\n\n<p>The <code>is not<\/code> operator returns <code>True<\/code> if the variables on either side of the operator do not refer to the same object, otherwise, it returns <code>False<\/code>.<\/p>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = &#91;1, 2, 3]\nb = a\nc = &#91;1, 2, 3]\n\nprint(a is not b) # Output: False\nprint(a is not c) # Output: True<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">In the example above, the <code>is not<\/code> operator returns <code>False<\/code> when comparing <code>a<\/code> and <code>b<\/code> because they both refer to the same object in memory, while it returns <code>True<\/code> when comparing <code>a<\/code> and <code>c<\/code> because they refer to different objects in memory.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Identity operators are useful when you need to check whether two variables refer to the same object in memory or not.<\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:#c6d6dc;font-size:28px\"><strong>7.Membership Operators <\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">In Python, membership operators are used to test whether a value is a member of a sequence or not. The two membership operators in Python are:<\/p>\n\n\n\n<ol class=\"has-medium-font-size wp-block-list\">\n<li><strong><code>in<\/code> Operator:<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">The <code>in<\/code> operator returns <code>True<\/code> if a value is found in a sequence, otherwise, it returns <code>False<\/code>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = &#91;1, 2, 3, 4, 5]\nb = 3\nc = 6\n\nprint(b in a) # Output: True\nprint(c in a) # Output: False<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">In the example above, the <code>in<\/code> operator returns <code>True<\/code> when checking if <code>b<\/code> is in the list <code>a<\/code>, while it returns <code>False<\/code> when checking if <code>c<\/code> is in the list <code>a<\/code>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">2. <strong><code>not in<\/code> Operator:<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">The <code>not in<\/code> operator returns <code>True<\/code> if a value is not found in a sequence, otherwise, it returns <code>False<\/code>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a = &#91;1, 2, 3, 4, 5]\nb = 3\nc = 6\n\nprint(b not in a) # Output: False\nprint(c not in a) # Output: True<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\">In the example above, the <code>not in<\/code> operator returns <code>False<\/code> when checking if <code>b<\/code> is not in the list <code>a<\/code>, while it returns <code>True<\/code> when checking if <code>c<\/code> is not in the list <code>a<\/code>.<\/p>\n\n\n\n<p class=\"has-medium-font-size\">Membership operators are useful when you need to check if a value is present or not in a sequence, such as a list, tuple, or string.<\/p>\n\n\n\n<p class=\"has-very-light-gray-to-cyan-bluish-gray-gradient-background has-background has-large-font-size\"><strong>Order of Precedence <\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">In Python, the order of precedence, also known as operator precedence, determines the order in which different operators are evaluated in an expression. Operators with higher precedence are evaluated before operators with lower precedence. If operators have the same precedence, their associativity (left-to-right or right-to-left) determines the order of evaluation.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Here&#8217;s a brief overview of some common operators in Python and their precedence:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"has-medium-font-size\"><strong>Parentheses <code>()<\/code><\/strong>: Highest precedence. Expressions within parentheses are evaluated first.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Exponentiation <code>**<\/code><\/strong>: Raises the left operand to the power of the right operand.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Unary plus <code>+<\/code> and unary minus <code>-<\/code><\/strong>: Positive and negative signs.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Multiplication <code>*<\/code>, division <code>\/<\/code>, and floor division <code>\/\/<\/code><\/strong>: Multiplication, division, and floor division.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Modulus <code>%<\/code><\/strong>: Returns the remainder of the division of the left operand by the right operand.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Addition <code>+<\/code> and subtraction <code>-<\/code><\/strong>: Addition and subtraction.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Bitwise shift operators <code>&lt;&lt;<\/code> and <code>&gt;&gt;<\/code><\/strong>: Shift bits to the left or right.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Bitwise AND <code>&amp;<\/code><\/strong>: Bitwise AND.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Bitwise XOR <code>^<\/code><\/strong>: Bitwise exclusive OR.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Bitwise OR <code>|<\/code><\/strong>: Bitwise OR.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Comparison operators (<code>&lt;<\/code>, <code>&lt;=<\/code>, <code>&gt;<\/code>, <code>&gt;=<\/code>, <code>==<\/code>, <code>!=<\/code>) and membership operators (<code>in<\/code>, <code>not in<\/code>)<\/strong>: Compare values and test membership.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Logical NOT <code>not<\/code><\/strong>: Boolean NOT.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Logical AND <code>and<\/code><\/strong>: Boolean AND.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong>Logical OR <code>or<\/code><\/strong>: Boolean OR.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-medium-font-size\">Let&#8217;s look at an example to illustrate operator precedence:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code>result = 2 + 3 * 4 ** 2 - (8 \/ 2) % 3\nprint(result)\n<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\"><strong>In this example, the order of evaluation is as follows: <\/strong><br> <br>4 ** 2 is evaluated first (16). <br>8 \/ 2 is evaluated next (4.0). <br>(8 \/ 2) % 3 is evaluated next (1.0). <br>3 * 16 is evaluated (48). <br>2 + 48 is evaluated (50). <br>50 &#8211; 1 is evaluated (49).<br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">So, the final result printed will be <code>49<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Python, expressions and statements are fundamental concepts that form the building blocks of code. Let&#8217;s discuss each one: Expressions: An expression is a combination of values, variables, and operators&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-24883","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/24883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/comments?post=24883"}],"version-history":[{"count":19,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/24883\/revisions"}],"predecessor-version":[{"id":28802,"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/pages\/24883\/revisions\/28802"}],"wp:attachment":[{"href":"https:\/\/tocxten.com\/index.php\/wp-json\/wp\/v2\/media?parent=24883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}