Question: Please answer first 2 using python 2. Find the longest palindrome in a sentence (excludingspaces) Sample Input: I asked his name, he said 'I am

Please answer first 2 using python
2. Find the longest palindrome in a sentence (excludingspaces) Sample Input: "I asked his name, he said 'I am Sam' Output: "am Sam" 3. Write a program that prints the following pattern Sample Input: 4 Output: 1 11 111 1111 4. Below is the design of a Database with the Table Names on top tblNames Name John Emplid 1001 1002 Mike Smith 1003 tblZipCode EmplID 1001 ZIP Code 77001 77003 77005 1002 1003 tblTransportType ZIP Code Vehicle Type 77001 Carpool 77003 Metro 77005 Carpool Write an SQL Query that will return the Names of people who travel using the Vehicle Type "Metro
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
