{"id":25576373,"date":"2024-02-25T11:46:06","date_gmt":"2024-02-25T06:16:06","guid":{"rendered":"https:\/\/entri.app\/blog\/?p=25576373"},"modified":"2024-02-25T11:47:31","modified_gmt":"2024-02-25T06:17:31","slug":"top-tcs-xplore-python-coding-questions-updated","status":"publish","type":"post","link":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/","title":{"rendered":"Top TCS Xplore Python Coding Questions ( Updated)"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_79_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e0c6f795411\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e0c6f795411\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#Top_TCS_Xplore_Python_Coding_Questions_and_Answers\" >Top TCS Xplore Python Coding Questions and Answers\u00a0<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<p>TCS Xplore is a learner-centered program with a 120-hour progressive induction program. You can find the most important TCS Xplore Python coding questions here.<\/p>\n<p>A technology career with Tata Consultancy Services (TCS), India&#8217;s IT pioneer, is among the top aspirations of most Indian techies. If you are still exploring TCS, let me tell you that TCS is the first listed company in India to reach a capitalization of USD 100 billion. So, it is rightly called the jewel of Indian IT.<\/p>\n<p>Whether you are a seasoned IT professional or a newbie just looking to explore your identity in the lush green planet of IT, joining an Indian company like TCS opens up unlimited opportunities for you.<\/p>\n<h3><strong> The TCS Xplore program is packed with interactive activities including:<\/strong><\/h3>\n<p><strong> AsCEnD<\/strong>: This program will help you develop your digital skills. You will also be certified and can then show off your skills.<\/p>\n<p><strong>Hackathons<\/strong> : After mastering digital skills, you can look forward to experimenting with the same. Next up is a great platform to test your skills in the form of hackathons. You can demonstrate your capabilities in the field of digital technology through hackathons.<\/p>\n<p><strong>Digital Connect Line :<\/strong> Get insights from executives on the organization&#8217;s growth strategy, current industry challenges, and customer expectations.<\/p>\n<p><strong>Business Unit Connect:<\/strong> A comprehensive corporate learning experience through quizzes, hackathons, Leader Connects, and more.<\/p>\n<p><strong>Internships:<\/strong> Opportunity to learn and grow at one of the world&#8217;s leading IT companies.<\/p>\n<p>So now let&#8217;s quickly move on to coding questions and answers.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Top_TCS_Xplore_Python_Coding_Questions_and_Answers\"><\/span><strong>Top TCS Xplore Python <\/strong><strong>Coding Questions and Answers\u00a0<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><strong> Q1. Write python code to print the position or index of a certain string (taken as input by the user) from a list of given strings.<\/strong><\/h3>\n<p>Ans. The program will take user input as a string and pass that string as an argument to the function. The function will take strings as arguments and return the position (or index) of the list if the passed string is present in the list, otherwise it returns &#8220;String not found&#8221;. If the passed strings are present at multiple indexes, then in this case the function returns only the index that appears first.<\/p>\n<p>Considering the above scenario, let&#8217;s build logic to print the position of string passed from given string list.<\/p>\n<p>Refer to the instructions below and the Input Output example to better understand the request.<\/p>\n<p><strong><em>Input:<\/em><\/strong><\/p>\n<p>4<\/p>\n<p>Hello Good Morning<\/p>\n<p>abcd123Fghy<\/p>\n<p>India<\/p>\n<p>Progoti.c<\/p>\n<p>India<\/p>\n<p><strong><em>Output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-background\">\n<p>The position of the searched string is: 2<\/p>\n<p>def isPresent(lis,st):<\/p>\n<p>for i in range(0, len(lis)):<\/p>\n<p>if lis[i] == st:<\/p>\n<p>return i<\/p>\n<p>lis = []\n<p>for j in range(int(input())):<\/p>\n<p>lis.append(input())<\/p>\n<p>st = input()<\/p>\n<p>ind = isPresent(lis,st)<\/p>\n<p>if ind == -1:<\/p>\n<p>print(&#8220;String not found&#8221;)<\/p>\n<p>else:<\/p>\n<p>print(&#8220;Position of the searched string is: &#8220;,ind)<\/p>\n<p style=\"text-align: center\"><strong><a href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\">Unlock Your Coding Potential with Our Python Programming Course \u2013 Enroll Today<\/a><\/strong><\/p>\n<\/div>\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Q2. <\/strong><strong>Create a function count_words() which takes a string as input and creates a dictionary with a word in the string as a key and its value as the number of times the word is repeated in the string. It should return the dictionary.<\/strong><\/h3>\n<p id=\"eg-hello-hi-hello-world-hello\" class=\"wp-block-heading has-medium-font-size\"><strong>eg: &#8220;hello hi hello world hello&#8221;\u00a0<\/strong><\/p>\n<p id=\"dicthello3hi1word1\" class=\"wp-block-heading has-medium-font-size\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<strong>\u00a0\u00a0dict={&#8216;hello&#8217;:3,&#8217;hi&#8217;:1,&#8217;word&#8217;:1}<\/strong><\/p>\n<p>Create another function max_accurance_word() which takes a string as input and returns the word which is occurring a maximum number of times in the string. Use the count_words function inside this function.<\/p>\n<p><strong><em>Sample input:<\/em><\/strong><\/p>\n<p>&#8220;hello hi hello world hello&#8221;<\/p>\n<p><strong><em>Sample output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-background\">\n<p>&#8216;hello&#8217;<\/p>\n<p>Code:<\/p>\n<p>def count_words(string):<\/p>\n<p>l=string.split()<\/p>\n<p>s=set(l)<\/p>\n<p>d={}<\/p>\n<p>for i in s:<\/p>\n<p>x=l.count(i)<\/p>\n<p>d[i]=x<\/p>\n<p>return d<\/p>\n<p>def max_occurance(string):<\/p>\n<p>d=count_words(string)<\/p>\n<p>l1=[]\n<p>for i in d.values():<\/p>\n<p>l1.append(i)<\/p>\n<p>max1=max(l1)<\/p>\n<p>for i in d.keys():<\/p>\n<p>if d[i]==max1:<\/p>\n<p>return i<\/p>\n<p>string=input()<\/p>\n<p>print(max_occurance(string))<\/p>\n<\/div>\n<h3 id=\"q2-make-a-function-check_palindrome-that-takes-a-list-of-strings-as-an-argument-it-returns-the-string-which-is-a-palindrome\" class=\"wp-block-heading has-medium-font-size\"><strong>Q3. Make a function check_palindrome() that takes a list of<\/strong>\u00a0<strong>strings as an argument. It returns the string which is a palindrome.<\/strong><\/h3>\n<p><strong><em>Input:<\/em><\/strong><\/p>\n<p>3<\/p>\n<p>malayalam<\/p>\n<p>radar<\/p>\n<p>nitish<\/p>\n<p><strong><em>Output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-background\">\n<p>malayalam<\/p>\n<p>radar<\/p>\n<p>code:<\/p>\n<p>def check_palindrome(lis):<\/p>\n<p>palin_lis = []\n<p>for i in lis:<\/p>\n<p>if i == i[::-1]:<\/p>\n<p>palin_lis.append(i)<\/p>\n<p>return palin_lis<\/p>\n<p>lis = []\n<p>for i in range(int(input())):<\/p>\n<p>lis.append(input())<\/p>\n<p>for _ in check_palindrome(lis):<\/p>\n<p>print(_)<\/p>\n<\/div>\n<h3 id=\"q4-write-a-python-program-to-create-a-class-called-mobile-which-contains-a-method-called-display-which-displays-the-name-of-the-mobile-owner-mobile-brand-colour-and-camera-pixel\" class=\"wp-block-heading has-medium-font-size\"><strong>Q4.<\/strong><strong>\u00a0Write a Python program to calculate the salary of the temporary staff using Multilevel Inheritance.<\/strong><\/h3>\n<p><strong>Description:<\/strong><\/p>\n<p>Create a class Person which contains a constructor __init__() and a method display(self). The method displays the name of the person<\/p>\n<p>Create another class Staff which inherits Person. It contains a constructor __init__() and a method display(self). The method displays Id.<\/p>\n<p>Create another class Temporarystaff which inherits Staff, it also contains a constructor __init__() and two method displays (self), and Salary(self).<\/p>\n<p>The method Salary(self) returns the total salary earned. The method display(self) displays a number of days, hours worked and total salary earned.<\/p>\n<p>salary earned = total hours worked *150<\/p>\n<p><strong><em>Input Format:<\/em><\/strong><\/p>\n<p>String =&gt; name<\/p>\n<p>Integer =&gt; Id<\/p>\n<p>Integer =&gt; number of days<\/p>\n<p>Integer =&gt; hoursworked<\/p>\n<p><strong><em>Output Format:<\/em><\/strong><\/p>\n<p class=\"has-background\">All outputs contain strings and integers.<\/p>\n<p>Sample Input:<\/p>\n<p>Tilak<\/p>\n<p>157934<\/p>\n<p>20<\/p>\n<p>8<\/p>\n<p><strong><em>Sample Output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-background\">\n<p>Name of Person = Tilak<\/p>\n<p>Staff Id is = 157934<\/p>\n<p>No. of Days = 20<\/p>\n<p>No. of Hours Worked = 8<\/p>\n<p>Total Salary = 24000<\/p>\n<p>Case 1<\/p>\n<p>Case 2<\/p>\n<\/div>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>Tilak<\/p>\n<p>157934<\/p>\n<p>20<\/p>\n<p>8<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-background\">\n<p>Name of Person = Tilak<\/p>\n<p>Staff Id is\u00a0 = 157934<\/p>\n<p>No. of Days = 20<\/p>\n<p>No. of Hours Worked = 8<\/p>\n<p>Total Salary = 24000<\/p>\n<\/div>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>Praveen<\/p>\n<p>124563<\/p>\n<p>26<\/p>\n<p>6<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-background\">\n<p>Name of Person = Praveen<\/p>\n<p>Staff Id is\u00a0 = 124563<\/p>\n<p>No. of Days = 26<\/p>\n<p>No. of Hours Worked = 6<\/p>\n<p>Total Salary = 23400<\/p>\n<p>Code:<\/p>\n<p>class employee:<\/p>\n<p>def __init__(self,name,id,days,hours):<\/p>\n<p>self.name = name<\/p>\n<p>self.id = id<\/p>\n<p>self.days = days<\/p>\n<p>self.hours = hours<\/p>\n<p>def display(self):<\/p>\n<p>print(&#8220;Name of Person = {name}\\nStaff Id is\u00a0 = {id}\\nNo. of Days = {days}\\nNo. of Hours Worked = {hours}\\nTotal Salary = {salary}&#8221;.format(name=self.name,id=self.id,days=self.days,hours=self.hours,salary=self.days*self.hours*150))<\/p>\n<p>a = input()<\/p>\n<p>b = int(input())<\/p>\n<p>c = int(input())<\/p>\n<p>d = int(input())<\/p>\n<p>obj = employee(a,b,c,d)<\/p>\n<p>obj.display()<\/p>\n<\/div>\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Q5. <\/strong><strong>Write a Python program to check the quantity of petrol in the bike using exception handling.<\/strong><\/h3>\n<p>If there is no petrol i.e. null in the bike it should raise an exception. That exception is handled by using except block and it should print &#8220;There is no fuel in the bike&#8221;. Otherwise, it should the show quantity of petrol on the bike.<\/p>\n<p><strong><em>Input Format:<\/em><\/strong><\/p>\n<p>The input consists of a string which denotes a fuel.<\/p>\n<p><strong><em>Output Format:<\/em><\/strong><\/p>\n<p class=\"has-background\">Output is a String<\/p>\n<p><strong><em>Sample Input:<\/em><\/strong><\/p>\n<p>40<\/p>\n<p><strong><em>Sample Output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>Petrol Quantity = 40<\/p>\n<p>Case 1<\/p>\n<p>Case 2<\/p>\n<\/div>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>40<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p>Petrol Quantity =\u00a0 40<\/p>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>NulL<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>There is no fuel in the Bike<\/p>\n<p>Code:<\/p>\n<p>a=input()<\/p>\n<p>try:<\/p>\n<p>if(a.lower()!=&#8217;null&#8217;):<\/p>\n<p>print(&#8220;Petrol Quantity = &#8220;,a)<\/p>\n<p>else:<\/p>\n<p>raise ValueError<\/p>\n<p>except(ValueError) :<\/p>\n<p>print(&#8220;There is no fuel in the Bike&#8221;)<\/p>\n<\/div>\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Q 6. Write a Python program to create a class called mobile which contains a method called display which displays the name of the mobile owner, mobile brand, colour and camera pixel.<\/strong><\/h3>\n<p><strong><em>Input Format:<\/em><\/strong><\/p>\n<p>String =&gt; name<\/p>\n<p>String =&gt; brand name<\/p>\n<p>String =&gt; color<\/p>\n<p>Integer =&gt; pixel<\/p>\n<p><strong><em>Output Format:<\/em><\/strong><\/p>\n<p class=\"has-background\">Output is a String<\/p>\n<p><strong><em>Sample Input:<\/em><\/strong><\/p>\n<p>Dinesh<\/p>\n<p>Lenovo vibe K5 note<\/p>\n<p>gold<\/p>\n<p>13<\/p>\n<p><strong><em>Sample Output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-background\">\n<p>Dinesh&#8217;s own Lenovo vibe K5 note gold colour smartphone has a 13 MP camera<\/p>\n<p>Case 1<\/p>\n<p>Case 2<\/p>\n<\/div>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>Dinesh<\/p>\n<p>Lenovo vibe K5 note<\/p>\n<p>gold<\/p>\n<p>13<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p class=\"has-background\">Dinesh&#8217;s own Lenovo vibe K5 note gold colour smartphone has a 13 MP camera<\/p>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>Manoj<\/p>\n<p>Vivo v11<\/p>\n<p>white<\/p>\n<p>21<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-background\">\n<p>Manoj own Vivo v11 white colour smartphone having a 21 MP camera<\/p>\n<p>Code:<\/p>\n<p>class mobile:<\/p>\n<p>def __init__(self,owner,brand,color,camera):<\/p>\n<p>self.owner = owner<\/p>\n<p>self.brand = brand<\/p>\n<p>self.color = color<\/p>\n<p>self.camera = camera<\/p>\n<p>def display(self):<\/p>\n<p>print(&#8220;{owner} own {brand} {color} color smartphone having {camera} MP camera&#8221;.format(owner = self.owner,brand = self.brand,color = self.color,camera = self.camera))<\/p>\n<p>a= input()<\/p>\n<p>b= input()<\/p>\n<p>c= input()<\/p>\n<p>d= input()<\/p>\n<p>obj = mobile(a,b,c,d)<\/p>\n<p>obj.display()<\/p>\n<\/div>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p style=\"text-align: center\"><strong><a href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\">Unlock Your Coding Potential with Our Python Programming Course \u2013 Enroll Today<\/a><\/strong><\/p>\n<\/div>\n<p><strong>Some more TCS Xplore Python coding questions &amp; answers:<\/strong><\/p>\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Q7. <\/strong><strong>Longest Increasing Subsequence<\/strong><\/h3>\n<p>Given an integer array &#8216;A&#8217;. Find the length of its Longest Increasing Subsequence of a sub-array from the given integer array. The elements are sorted in monotonic increasing order. You need to create a function that takes two inputs &#8211; integer &#8216;n&#8217; and an integer array containing &#8216;n&#8217; integers. To return the length of its LIS.<\/p>\n<p>Format:<\/p>\n<p><strong><em>Input:<\/em><\/strong><\/p>\n<p>The integer input is &#8216;n&#8217;. And Integer array &#8216;A&#8217; input, contains &#8216;n&#8217; integers.<\/p>\n<p><strong><em>Output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>Return the length of its LIS.<\/p>\n<p>Constraint:<\/p>\n<p>1 &lt;= input1 &lt;= 1000<\/p>\n<\/div>\n<p><strong><em>Example:<\/em><\/strong><\/p>\n<p><strong><em>Input:<\/em><\/strong><\/p>\n<p>3<\/p>\n<p>1, 3, 2<\/p>\n<p><strong><em>Output:<\/em><\/strong><\/p>\n<p class=\"has-ast-global-color-4-background-color has-background\">2<\/p>\n<p>Case 1<\/p>\n<p>Case 2<\/p>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>3<\/p>\n<p>1 3 2<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p>2<\/p>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>9<\/p>\n<p>10 22 9 33 21 50 41 60 80<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p class=\"has-ast-global-color-4-background-color has-background\">6<\/p>\n<p>Code:<\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>def lis(arr,n):<\/p>\n<p>lis = [1]*n<\/p>\n<p>for i in range (1, n):<\/p>\n<p>for j in range(0 , i):<\/p>\n<p>if arr[i] &gt; arr[j] and lis[i]&lt; lis[j] + 1 :<\/p>\n<p>lis[i] = lis[j]+1<\/p>\n<p>maximum = 0<\/p>\n<p>for i in range(n):<\/p>\n<p>maximum = max(maximum , lis[i])<\/p>\n<p>return maximum<\/p>\n<p>n=int(input())<\/p>\n<p>arr = []\n<p>arr=list(map(int, input().split(&#8216; &#8216;)[:n]))<\/p>\n<p>print(lis(arr,n))<\/p>\n<\/div>\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Q8. Write a Python program to display the Passport details of the Person using composition.<\/strong><\/h3>\n<p><strong><em>Description:<\/em><\/strong><\/p>\n<p>Create a class Passport and class Person. Compose the class Passport in the class Person.<\/p>\n<p>Class Passport contains constructor __init__() which sets the name, address and passport no.<\/p>\n<p>Display the name of the person, Address and passport number of the person.<\/p>\n<p><strong><em>Input Format:<\/em><\/strong><\/p>\n<p>Name =&gt; String<\/p>\n<p>Address =&gt; String<\/p>\n<p>passport number =&gt; String<\/p>\n<p><strong><em>Output Format:<\/em><\/strong><\/p>\n<p class=\"has-ast-global-color-4-background-color has-background\">Three outputs. All are String<\/p>\n<p><strong><em>Sample Input:<\/em><\/strong><\/p>\n<p>RamKumar<\/p>\n<p>Kollam<\/p>\n<p>J7546891<\/p>\n<p><strong><em>Sample Output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>Name: RamKumar<\/p>\n<p>Address: Kollam<\/p>\n<p>Passport Number: J7546891<\/p>\n<p>Case 1<\/p>\n<p>Case 2<\/p>\n<\/div>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>RamKumar<\/p>\n<p>Kollam<\/p>\n<p>J7546891<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>Name: RamKumar<\/p>\n<p>Address: Kollam<\/p>\n<p>Passport Number: J7546891<\/p>\n<\/div>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>Purushothaman<\/p>\n<p>Mumbai<\/p>\n<p>J1535231<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>Name: Purushothaman<\/p>\n<p>Address: Mumbai<\/p>\n<p>Passport Number: J1535231<\/p>\n<\/div>\n<p><strong><em>Code:<\/em><\/strong><\/p>\n<p>#Type your code here&#8230;<\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>class passport:<\/p>\n<p>def __init__(self,name,address,pa):<\/p>\n<p>self.name=name<\/p>\n<p>self.address=address<\/p>\n<p>self.pa=pa<\/p>\n<p>def display(self):<\/p>\n<p>print(&#8220;Name :&#8221;,self.name)<\/p>\n<p>print(&#8220;Address :&#8221;,self.address)<\/p>\n<p>print(&#8220;Passport Number :&#8221;,self.pa)<\/p>\n<p>class person(passport):<\/p>\n<p>def __init__(self,name,address,pa):<\/p>\n<p>super().__init__(name,address,pa)<\/p>\n<p>super().display()<\/p>\n<p>a=input()<\/p>\n<p>b=input()<\/p>\n<p>c=input()<\/p>\n<p>e1=person(a,b,c)<\/p>\n<\/div>\n<p style=\"text-align: center\"><strong><a href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\">Unlock Your Coding Potential with Our Python Programming Course \u2013 Enroll Today<\/a><\/strong><\/p>\n<p>The next coding question from the list of TCS Xplore Python coding questions is here:<\/p>\n<h3 id=\"q9-consider-a-row-of-n-coins-we-play-a-game-against-an-opponent-by-alternative-turns-in-each-turn-a-player-selects-either-the-first-or-last-coin-from-the-row-now-remove-it-from-the-row-permanentl\" class=\"wp-block-heading has-medium-font-size\"><strong>Q9. Consider a row of n coins. We play a game against an opponent by alternative turns. In each turn, a player selects either the first or last coin from the row. Now remove it from the row permanently and take the value of a coin. Find the maximum possible amount of money.<\/strong><\/h3>\n<p><strong><em>Example:<\/em><\/strong><\/p>\n<p><strong><em>Input:<\/em><\/strong><\/p>\n<p>4<\/p>\n<p>5 3 7 10<\/p>\n<p><strong><em>Output:<\/em><\/strong><\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>15<\/p>\n<p>Case 1<\/p>\n<p>Case 2<\/p>\n<p>Case 3<\/p>\n<p>Case 6<\/p>\n<p>Case 7<\/p>\n<p>Case 8<\/p>\n<p>Case 9<\/p>\n<p>Case 10<\/p>\n<\/div>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>4<\/p>\n<p>5 3 7 10<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p class=\"has-ast-global-color-4-background-color has-background\">15<\/p>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>7<\/p>\n<p>8 15 3 7 10 22 5<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p class=\"has-ast-global-color-4-background-color has-background\">26<\/p>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>8<\/p>\n<p>10 3 8 2 6 7 15 1<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p class=\"has-ast-global-color-4-background-color has-background\">39<\/p>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>5<\/p>\n<p>1 2 3 4 5<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p class=\"has-ast-global-color-4-background-color has-background\">9<\/p>\n<p><strong><em>Input (stdin)<\/em><\/strong><\/p>\n<p>7<\/p>\n<p>11 22 33 44 55 66 88<\/p>\n<p><strong><em>Output (stdout)<\/em><\/strong><\/p>\n<p class=\"has-ast-global-color-4-background-color has-background\">187<\/p>\n<p><strong><em>Code:<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<div class=\"wp-block-group has-ast-global-color-4-background-color has-background\">\n<p>def optimalStrategyOfGame(arr, n):<\/p>\n<p>table = [[0 for i in range(n)]\n<p>for i in range(n)]\n<p>for gap in range(n):<\/p>\n<p>for j in range(gap, n):<\/p>\n<p>i = j &#8211; gap<\/p>\n<p>x = 0<\/p>\n<p>if((i + 2) &lt;= j):<\/p>\n<p>x = table[i + 2][j]\n<p>y = 0<\/p>\n<p>if((i + 1) &lt;= (j &#8211; 1)):<\/p>\n<p>y = table[i + 1][j &#8211; 1]\n<p>z = 0<\/p>\n<p>if(i &lt;= (j &#8211; 2)):<\/p>\n<p>z = table[i][j &#8211; 2]\n<p>table[i][j] = max(arr[i] + min(x, y),<\/p>\n<p>arr[j] + min(y, z))<\/p>\n<p>return table[0][n &#8211; 1]\n<p>n=int(input())<\/p>\n<p>arr1 = [int(i) for i in input().split()]\n<p>print(optimalStrategyOfGame(arr1, n))<\/p>\n<p style=\"text-align: center\"><strong><a href=\"https:\/\/entri.app\/course\/python-programming-course\/\" target=\"_blank\" rel=\"noopener\">Unlock Your Coding Potential with Our Python Programming Course \u2013 Enroll Today<\/a><\/strong><\/p>\n<\/div>\n<h2 id=\"wrapping-up\" class=\"wp-block-heading has-medium-font-size\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>So, these are the best TCS Xplore Python encryption questions and answers for you. If you have any questions that you think are important but are not covered here, please share them below in the comments section. This knowledge sharing place is quickly becoming the second best destination for tech learning.<\/p>\n<div class=\"entry-content no-share\">\n<div class=\"content-inner \">\n<div class=\"wprt-container\">\n<div>\n<section id=\"custom_section_top\" class=\"course_section custom\">\n<div class=\"html-input\">Entri\u2019s Online Python Programming course provides a comprehensive and structured learning experience to master Python from basics. Whether you\u2019re a beginner or experienced, this advanced course caters to all skill levels. Learn through hands-on projects, real-world examples, and expert mentorship to build a strong foundation in Python programming. Our interactive platform ensures an engaging learning experience. Also, you get hired easily with internship and placement assistance.<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"jeg_share_bottom_container\">\n<div class=\"jeg_share_button share-bottom clearfix\">\n<div class=\"jeg_sharelist\"><\/div>\n<\/div>\n<\/div>\n<figure class=\"wp-block-image size-large\"><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>TCS Xplore is a learner-centered program with a 120-hour progressive induction program. You can find the most important TCS Xplore Python coding questions here. A technology career with Tata Consultancy Services (TCS), India&#8217;s IT pioneer, is among the top aspirations of most Indian techies. If you are still exploring TCS, let me tell you that [&hellip;]<\/p>\n","protected":false},"author":110,"featured_media":25576578,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[802,1888],"tags":[],"class_list":["post-25576373","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-python-programming"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Top TCS Xplore Python Coding Questions ( Updated) - Entri Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top TCS Xplore Python Coding Questions ( Updated) - Entri Blog\" \/>\n<meta property=\"og:description\" content=\"TCS Xplore is a learner-centered program with a 120-hour progressive induction program. You can find the most important TCS Xplore Python coding questions here. A technology career with Tata Consultancy Services (TCS), India&#8217;s IT pioneer, is among the top aspirations of most Indian techies. If you are still exploring TCS, let me tell you that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/\" \/>\n<meta property=\"og:site_name\" content=\"Entri Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/entri.me\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-25T06:16:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-25T06:17:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"820\" \/>\n\t<meta property=\"og:image:height\" content=\"615\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Juwairiya Mahin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@entri_app\" \/>\n<meta name=\"twitter:site\" content=\"@entri_app\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juwairiya Mahin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/\"},\"author\":{\"name\":\"Juwairiya Mahin\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/da9e9899c834feb2c32a887101c5fbfc\"},\"headline\":\"Top TCS Xplore Python Coding Questions ( Updated)\",\"datePublished\":\"2024-02-25T06:16:06+00:00\",\"dateModified\":\"2024-02-25T06:17:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/\"},\"wordCount\":2008,\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png\",\"articleSection\":[\"Articles\",\"Python Programming\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/\",\"url\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/\",\"name\":\"Top TCS Xplore Python Coding Questions ( Updated) - Entri Blog\",\"isPartOf\":{\"@id\":\"https:\/\/entri.app\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png\",\"datePublished\":\"2024-02-25T06:16:06+00:00\",\"dateModified\":\"2024-02-25T06:17:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#primaryimage\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png\",\"width\":820,\"height\":615,\"caption\":\"Top TCS Xplore Python Coding Questions ( Updated) (1)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/entri.app\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python Programming\",\"item\":\"https:\/\/entri.app\/blog\/category\/python-programming\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Top TCS Xplore Python Coding Questions ( Updated)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/entri.app\/blog\/#website\",\"url\":\"https:\/\/entri.app\/blog\/\",\"name\":\"Entri Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/entri.app\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/entri.app\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/entri.app\/blog\/#organization\",\"name\":\"Entri App\",\"url\":\"https:\/\/entri.app\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"contentUrl\":\"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png\",\"width\":989,\"height\":446,\"caption\":\"Entri App\"},\"image\":{\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/entri.me\/\",\"https:\/\/x.com\/entri_app\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/entri.app\/blog\/#\/schema\/person\/da9e9899c834feb2c32a887101c5fbfc\",\"name\":\"Juwairiya Mahin\",\"url\":\"https:\/\/entri.app\/blog\/author\/juwairiyaentri\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Top TCS Xplore Python Coding Questions ( Updated) - Entri Blog","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:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/","og_locale":"en_US","og_type":"article","og_title":"Top TCS Xplore Python Coding Questions ( Updated) - Entri Blog","og_description":"TCS Xplore is a learner-centered program with a 120-hour progressive induction program. You can find the most important TCS Xplore Python coding questions here. A technology career with Tata Consultancy Services (TCS), India&#8217;s IT pioneer, is among the top aspirations of most Indian techies. If you are still exploring TCS, let me tell you that [&hellip;]","og_url":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/","og_site_name":"Entri Blog","article_publisher":"https:\/\/www.facebook.com\/entri.me\/","article_published_time":"2024-02-25T06:16:06+00:00","article_modified_time":"2024-02-25T06:17:31+00:00","og_image":[{"width":820,"height":615,"url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png","type":"image\/png"}],"author":"Juwairiya Mahin","twitter_card":"summary_large_image","twitter_creator":"@entri_app","twitter_site":"@entri_app","twitter_misc":{"Written by":"Juwairiya Mahin","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#article","isPartOf":{"@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/"},"author":{"name":"Juwairiya Mahin","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/da9e9899c834feb2c32a887101c5fbfc"},"headline":"Top TCS Xplore Python Coding Questions ( Updated)","datePublished":"2024-02-25T06:16:06+00:00","dateModified":"2024-02-25T06:17:31+00:00","mainEntityOfPage":{"@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/"},"wordCount":2008,"publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"image":{"@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png","articleSection":["Articles","Python Programming"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/","url":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/","name":"Top TCS Xplore Python Coding Questions ( Updated) - Entri Blog","isPartOf":{"@id":"https:\/\/entri.app\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#primaryimage"},"image":{"@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#primaryimage"},"thumbnailUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png","datePublished":"2024-02-25T06:16:06+00:00","dateModified":"2024-02-25T06:17:31+00:00","breadcrumb":{"@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#primaryimage","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2024\/02\/Top-TCS-Xplore-Python-Coding-Questions-Updated-1.png","width":820,"height":615,"caption":"Top TCS Xplore Python Coding Questions ( Updated) (1)"},{"@type":"BreadcrumbList","@id":"https:\/\/entri.app\/blog\/top-tcs-xplore-python-coding-questions-updated\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/entri.app\/blog\/"},{"@type":"ListItem","position":2,"name":"Python Programming","item":"https:\/\/entri.app\/blog\/category\/python-programming\/"},{"@type":"ListItem","position":3,"name":"Top TCS Xplore Python Coding Questions ( Updated)"}]},{"@type":"WebSite","@id":"https:\/\/entri.app\/blog\/#website","url":"https:\/\/entri.app\/blog\/","name":"Entri Blog","description":"","publisher":{"@id":"https:\/\/entri.app\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/entri.app\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/entri.app\/blog\/#organization","name":"Entri App","url":"https:\/\/entri.app\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","contentUrl":"https:\/\/entri.app\/blog\/wp-content\/uploads\/2019\/10\/Entri-Logo-1.png","width":989,"height":446,"caption":"Entri App"},"image":{"@id":"https:\/\/entri.app\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/entri.me\/","https:\/\/x.com\/entri_app"]},{"@type":"Person","@id":"https:\/\/entri.app\/blog\/#\/schema\/person\/da9e9899c834feb2c32a887101c5fbfc","name":"Juwairiya Mahin","url":"https:\/\/entri.app\/blog\/author\/juwairiyaentri\/"}]}},"_links":{"self":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25576373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/comments?post=25576373"}],"version-history":[{"count":1,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25576373\/revisions"}],"predecessor-version":[{"id":25576574,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/posts\/25576373\/revisions\/25576574"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media\/25576578"}],"wp:attachment":[{"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/media?parent=25576373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/categories?post=25576373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entri.app\/blog\/wp-json\/wp\/v2\/tags?post=25576373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}