{"id":74105,"date":"2019-12-10T10:26:12","date_gmt":"2019-12-10T04:56:12","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=74105"},"modified":"2024-08-22T17:47:34","modified_gmt":"2024-08-22T12:17:34","slug":"python-syntax","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/","title":{"rendered":"Python Syntax &#8211; Get yourself familiar with Python"},"content":{"rendered":"<p>Understanding the syntax is the first and most crucial step in learning any programming language. Python stands out for its simplicity and straightforward syntax, making it one of the most beginner-friendly languages. This article is designed to guide you through the essential syntactical structures of Python. Whether you&#8217;re just starting or looking to refresh your knowledge, this article will provide the foundation you need to write clean and efficient Python code.<\/p>\n<p>TechVidvan&#8217;s Python Syntax article will help you in <strong>identifying<\/strong> and <strong>debugging<\/strong> the syntax of Python.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/python-syntax-2-.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-74172 size-full\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2019\/12\/python-syntax-2-.jpg\" alt=\"what is Python syntax\" width=\"802\" height=\"420\" \/><\/a><\/p>\n<h3>What is Syntax?<\/h3>\n<p>In every programming language, you will come along the word syntax. A programming syntax refers to a set of <strong>rules<\/strong>.<\/p>\n<p>When we run a Python program, first it is read by a <strong>parser<\/strong>. The parser will only understand the Python code if it is according to the <strong>predefined rules<\/strong> of Python programming otherwise it will give you syntax errors. That is why it is important to understand the syntax of the language.<\/p>\n<p><strong>Example of Python Syntax<\/strong><\/p>\n<p>In this Python Tutorial, before learning the syntax of Python, let\u2019s see an example of how a basic Python program looks like.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#Simple Python Program that compares two numbers.\r\n\r\nprint(\"Enter first integer value\")\r\nfirst_value = int(input())\r\n\r\nprint(\"Enter second integer value\")\r\nsecond_value = int(input())\r\n\r\nif(first_value &gt; second_value):\r\n    print(\u201cFirst value is greater than second\u201d)\r\nelse:\r\n    print(\u201cSecond value is greater than first\u201d)<\/pre>\n<p>The above program takes two values from the user and then we compare which of them is bigger.<\/p>\n<p>Don\u2019t worry if you don\u2019t understand the code yet, with this example, you can get a clue about how Python code is written.<\/p>\n<h3>Types of Syntax Structures in Python<\/h3>\n<p>Now, let\u2019s go through the various syntax structures of Python programming.<\/p>\n<h4>1. Python Line Structure<\/h4>\n<p>A Python program is divided into <strong>logical lines<\/strong> where each line comprises one or more physical lines of code. The Python interpreter ignores the <strong>blank lines<\/strong>, which are the lines that only contain <strong>white spaces<\/strong>.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Msg = \u201cHi! Welcome to the python syntax article\u201d\r\nprint(Msg)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Hi! Welcome to the python syntax article<\/div>\n<h4>2. Multiline Statements<\/h4>\n<p>If you have studied another language like C\/C++ or Java then you are used to writing <strong>semicolons<\/strong> after every statement.<\/p>\n<p>In Python, we don\u2019t use semicolons instead of them we use <strong>newlines<\/strong> for <strong>separating statements<\/strong>. Sometimes when you want to write a long code in a single line we can break the statement into multiple lines using the <strong>backslash character(\\)<\/strong>.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">print(\u201cHi! \\\r\nHow are you today? \\\r\nWhat are you planning this Sunday? \\\r\n\u201d)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Hi! How are you today? What are you planning this Sunday?<\/div>\n<h4>3. Multiple Statements in One Line<\/h4>\n<p>Python also allows you to write multiple statements in a single line. For this purpose, we use semicolons to separate statements within the same line. This can reduce the <strong>readability<\/strong> of code so only use this if it is appropriate in the situation.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">num1 = 10 ; num2 = 20 ; print(\u201cSum of numbers = \u201d, num1+num2)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Sum of numbers = 30<\/div>\n<h4>4. Comments in Python<\/h4>\n<p>Writing comments for our code is useful for programmers to add <strong>notes<\/strong> or <strong>explanations<\/strong> of the code. Comments are just for <strong>reading<\/strong> and Python interpreter ignores whatever we write in comments. Comments can be either <strong>single-line<\/strong> or <strong>multiline comments<\/strong>.<\/p>\n<p><strong>a. Single-Line Comments<\/strong><\/p>\n<p>The symbol <strong>(#)<\/strong> indicates the <strong>starting<\/strong> of the comment and everything written after the # is considered as <strong>comment<\/strong>.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#Interpreter will ignore this\r\nprint(\u201cTechVidvan\u201d)\r\nprint(\u201cTechVidvan\u201d) #comments can be added after code<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">TechVidvan<br \/>\nTechVidvan<\/div>\n<p><strong>b. Multiline Comments<\/strong><\/p>\n<p>When the comment is large, we can use the <strong>triple-double quotes<\/strong> to write comments in multiple lines.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">\u201c\u201d\u201d\r\nThis is a multiline\r\nComment\r\nUsed for explaining functions,\r\nCodes, etc\r\n\u201c\u201d\u201d\r\nprint(\u201cMultiline comment example\u201d)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Multiline comment example<\/div>\n<h4>5. Python Indentation<\/h4>\n<p>The indentation is quite unique <strong>syntax<\/strong> of Python. Other languages like C\/C++, Java and JavaScript use<strong> curly braces \u2018{}\u2019<\/strong> to indicate <strong>block of codes<\/strong>.<\/p>\n<p>Python uses white spaces (space or tabs) to define the <strong>block of functions<\/strong>, <strong>flow control<\/strong> and <strong>codes of class<\/strong>. It is mandatory to use a consistent amount of spaces for blocks throughout the code.<\/p>\n<p>Let\u2019s see this with an example:<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">name = \u201cTechVidvan\u201d\r\n\r\nif name == \u201cTechVidvan\u201d:\r\n    print(\u201cWe know this person\u201d)\r\nelse:\r\n    print(\u201cWe don\u2019t know this person\u201d)<\/pre>\n<p><em><strong>Note: Here, the amount of space should be consistent otherwise you will get an error.<\/strong><\/em><\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">name = \u201cTechVidvan\u201d\r\n\r\nif name == \u201cTechVidvan\u201d:\r\n  print(\u201cWe know this person\u201d)\r\n    print(\u201cUnequal spaces in indentation\u201d)\r\nelse:\r\n    print(\u201cWe don\u2019t know this person\u201d)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">TabError: inconsistent use of tabs and spaces in indentation<\/div>\n<h4>6. Python Quotations<\/h4>\n<p>The Python string literals can be enclosed in two ways.<\/p>\n<p>We can write strings between <strong>single quotes(\u2019)<\/strong> or <strong>double quotes (\u201c)<\/strong> and they can be used <strong>interchangeably<\/strong>.<br \/>\n<strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">message1 = \u201cHey\u201d\r\nmessage2 = \u2018Hey\u2019\r\nprint( message1)\r\nprint( message2)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Hey<br \/>\nHey<\/div>\n<p>When we want to use quotes inside the string then we can <strong>combine<\/strong> them.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">print(\u201c Hey \u2018Anna\u2019 \u201d)\r\nprint(\u2018 Hey \u201cAnna\u201d \u2019)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">Hey \u2018Anna\u2019<br \/>\nHey \u201cAnna\u201d<\/div>\n<h4>7. Python Identifier<\/h4>\n<p>A program contains <strong>variables<\/strong>, <strong>functions<\/strong>, <strong>classes<\/strong>, <strong>modules<\/strong>, <strong>packages<\/strong> etc. <strong>Identifier<\/strong> is the name given to these programming elements. There are some rules which we have to keep in mind for creating an identifier.<\/p>\n<p>Let\u2019s see them one by one.<\/p>\n<ul>\n<li>Identifier can only begin with characters starting from A-Z (Uppercase letters), a-z (lowercase letters) or _ (underscore).<\/li>\n<li>They can be then followed by any number of letters, digits or underscores.<\/li>\n<li>Python is case sensitive language so the identifiers \u2018count\u2019 and \u2018Count\u2019 are two different identifiers.<\/li>\n<li>Python Reserved keywords like for, global, continue, break, etc. cannot be used as identifiers.<\/li>\n<\/ul>\n<h4>Examples of Valid Identifiers:<\/h4>\n<ul>\n<li>name<\/li>\n<li>_3name6<\/li>\n<li>get_all_names<\/li>\n<li>YES<\/li>\n<\/ul>\n<h4>Examples of Invalid Identifiers:<\/h4>\n<ul>\n<li>1name<\/li>\n<li>name$<\/li>\n<li>get-score<\/li>\n<\/ul>\n<h4>8. Getting Users Input<\/h4>\n<p>To get the input from the user, Python has <strong>input() function<\/strong> in the Python\u2019s core library. It reads the input given by the user as a <strong>string<\/strong> and we can store the input in a <strong>variable<\/strong>.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">Msg = input()\r\nprint(Msg)<\/pre>\n<p>When the interpreter reaches the input() function, it will wait for an input from the user.<\/p>\n<p>The user can give input, for example, here we can type \u201cHello\u201d and then after pressing enter, the code will <strong>execute<\/strong> in which we store the input in Msg variable and print it afterwards.<\/p>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">&gt;&gt;&gt;Hello<br \/>\n\u2018Hello\u2019<\/div>\n<p>One important thing to note is that even when you give a <strong>number<\/strong> as input, Python will treat it as a <strong>string<\/strong>. So, when we want to work with numbers, we can use type conversion methods with input() function to convert strings into numbers.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">num = int( input())\r\nnum = num + 10\r\nprint(num)<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">&gt;&gt;&gt;5<br \/>\n15<\/div>\n<h4>9. Python String-Formatters<\/h4>\n<p>String-formatters are very useful for <strong>displaying strings<\/strong> in the format we want. Let\u2019s see the different ways of formatting string:<\/p>\n<p><strong>a. % operator<\/strong><\/p>\n<p>With the % operator, we can format a string to contain both <strong>text<\/strong> and <strong>values<\/strong> of identifiers. We use %s where we want our value to appear.<\/p>\n<p>After the string, we put the % symbol and then mention the identifiers in parameters.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">rollNo= 1\r\nsubject= \u201cMaths\u201d\r\nprint(\u201c The roll no. %s studies %s subject\u201d % (rollNo, subject) )<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">The roll no. 1 studies Maths subject<\/div>\n<p><strong>b. format Method<\/strong><\/p>\n<p>The format method is similar to the above method but instead of %s we put <strong>0,1,2&#8230; values<\/strong> or <strong>identifiers<\/strong> in curly braces and then use format method on the string.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">rollNo= 1 ; subject= \u201cMaths\u201d\r\nprint(\u201c The roll no. {0} studies {1} subject\u201d. format(rollNo, subject) )\r\nprint((\u201c The roll no. {rollNo} studies {subject} subject\u201d.format(rollNo=10, subject=\u201dScience\u201d))<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">The roll no. 1 studies Maths subject<br \/>\nThe roll no. 10 studies Science subject<\/div>\n<p><strong>c. f-strings<\/strong><\/p>\n<p>F-strings are easier to work with. You just need to put<strong> \u2018f\u2019<\/strong> as a <strong>prefix<\/strong> before string and then you can put the identifier in curly braces within the string.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">rollNo= 5 ; subject= \u201cBiology\u201d\r\nprint( f\u201cThe roll no. {rollNo} studies {subject} subject\u201d )<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<div class=\"code-output\">The roll no. 5 studies Biology subject<\/div>\n<h3>Summary<\/h3>\n<p>In this article, we saw all the Python syntax structures in detail. This will give a good idea about how programming in Python is done.<\/p>\n<p>We learned the <strong>Python line structure<\/strong>, <strong>comments<\/strong>, <strong>Python indentation<\/strong>, <strong>identifiers<\/strong>, taking <strong>input from users<\/strong> and <strong>formatting strings<\/strong>.<\/p>\n<p>Now you can start your journey in Python programming.<\/p>\n<p>I hope you like this Python syntax tutorial and feel free to ask your queries in the comment section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Understanding the syntax is the first and most crucial step in learning any programming language. Python stands out for its simplicity and straightforward syntax, making it one of the most beginner-friendly languages. This article&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":74172,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1053],"tags":[1069,1070,1071,1072,1073],"class_list":["post-74105","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-example-of-python-syntax","tag-python-syntax","tag-syntax-of-python","tag-types-of-python-syntax","tag-what-is-syntax"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python Syntax - Get yourself familiar with Python - TechVidvan<\/title>\n<meta name=\"description\" content=\"Python Syntax - Learn the concept of syntax in Python with the help of example. Also, explore the different types of Python syntax structures.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/python-syntax\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Syntax - Get yourself familiar with Python - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Python Syntax - Learn the concept of syntax in Python with the help of example. Also, explore the different types of Python syntax structures.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/python-syntax\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-10T04:56:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-22T12:17:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/python-syntax-2-.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Syntax - Get yourself familiar with Python - TechVidvan","description":"Python Syntax - Learn the concept of syntax in Python with the help of example. Also, explore the different types of Python syntax structures.","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:\/\/techvidvan.com\/tutorials\/python-syntax\/","og_locale":"en_US","og_type":"article","og_title":"Python Syntax - Get yourself familiar with Python - TechVidvan","og_description":"Python Syntax - Learn the concept of syntax in Python with the help of example. Also, explore the different types of Python syntax structures.","og_url":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2019-12-10T04:56:12+00:00","article_modified_time":"2024-08-22T12:17:34+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/python-syntax-2-.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Python Syntax &#8211; Get yourself familiar with Python","datePublished":"2019-12-10T04:56:12+00:00","dateModified":"2024-08-22T12:17:34+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/"},"wordCount":1167,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/python-syntax-2-.jpg","keywords":["example of python syntax","python syntax","syntax of python","types of python syntax","what is syntax"],"articleSection":["Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/python-syntax\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/","url":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/","name":"Python Syntax - Get yourself familiar with Python - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/python-syntax-2-.jpg","datePublished":"2019-12-10T04:56:12+00:00","dateModified":"2024-08-22T12:17:34+00:00","description":"Python Syntax - Learn the concept of syntax in Python with the help of example. Also, explore the different types of Python syntax structures.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/python-syntax\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/python-syntax-2-.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2019\/12\/python-syntax-2-.jpg","width":802,"height":420,"caption":"what is Python syntax"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/python-syntax\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Python Syntax &#8211; Get yourself familiar with Python"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/74105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=74105"}],"version-history":[{"count":1,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/74105\/revisions"}],"predecessor-version":[{"id":447664,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/74105\/revisions\/447664"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/74172"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=74105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=74105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=74105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}