Write palindrome program python to check palindrome

Assignment Help Computer Engineering
Reference no: EM132200749

Write a Java/c++/perl/python palindrome program: A program to check if a string is a palindrome or not.

A string is a palindrome if it remains unchanged when reversed, for example "dad" is a palindrome as reverse of "dad" is "dad".

Some other palindrome strings are "nurses run", "madam", "abcba", "race car", and "never odd or even" etc.

Write palindrome program either in java or c++ or perl or python to check whether the string given is a palindrome or not.

If the given sequence is palindrome your program should print "It is a palindrome", if not (if the given sequence is not palindrome) your program should print "It is not a palindrome".

Use some example texts such as "Able was I ere I saw Elba" "Are we not drawn onward, we few, drawn onward to new era".

Reference no: EM132200749

Questions Cloud

Let talk about reliability of information : Let's talk about reliability of information. Where do you guys go to get your news from? How do you avoid fake news?
Write a java console application that reads a string : Write a Java console application that reads a string from the keyboard and tests whether it contains a valid date.
Evaluate the effectiveness of the training program : How will you evaluate the effectiveness of this training program? What other things must you think about when planning this training program?
Describe some of your ideas for backup procedures : Describe some of your ideas for backup procedures, who will back up the data, how often and where will the copies be stored, etc?:
Write palindrome program python to check palindrome : Write palindrome program either in java or c++ or perl or python to check whether the string given is a palindrome or not.
Could some form of a swot analysis be useful : In your enhanced vision, be sure to expand your marketing concepts to include the relevant environment factors from your reading.
Write a java gui application functioning as a simple text : Write a Java GUI application functioning as a simple text search engine. It allows a user to input a search string, and highlights all occurrences of the string
Show the original array of integers and the output : Write an Java application which includes and algorithm that takes an array of any size, selects the high and low integer from the array of integers.
Write a client class to test all the methods in your class : Write a client class to test all the methods in your class. Print the total amount of money in dollar notation with two significant digits after the decimal.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Create script that copy the content from crash dumb folder

Need a script that copy the content from crash dumb folder and to store somewhere else

  Design c++ program with 4 classes called a,b,c and d

Write down a C++ program with 4 classes called A,B,C and D. D should inherit C, C should inherit B and B should inherit A. All classes should have 1 data member of type int, 1 constructor and 1 function called print.

  Name the units of absorptivity

Name the Units of absorptivity if it has any units.

  Discuss how net neutrality will affect data networks

Base on your article review and the assigned reading, discuss how net neutrality will affect data networks and the availability of information to businesses.

  Question1 write down a css rule that gives all h1 and h2

question1. write down a css rule that gives all h1 and h2 elements a padding of 0.5 ems a dashed border style and a

  Describe one of the latest it security breaches

Write one paper to describe one of the latest IT security breaches/threats incidents that occurred lately this can be either internal or extenral threats

  Deduce the applicable laminar boundary-layer equations

Consider steady axisymmetric flow in the entrance region of a pipe, that is, in the region in which the velocity profile is developing.

  Create an array named x that has n elements

Determine the number of values input by the user and store this value in a variable named N. Create an array named X that has N elements.

  Describe how you will overcome threats from each five forces

Describe how you will overcome threats from each of the five forces while achieving your professional goal(s) after graduation from the MS-IST Program.

  Give a description of the current system

The board has asked whether a new system should include a web presence for their constituents, but they are not familiar with the pros and cons and need your help on the part of a proposed solution.

  Explain effect on the programmer and the hardware designer

The 68000 has 32-bit address registers that hold bits A00 to A31 However ,the 68000 has only address pins A01 to A23 what are the reasons for this?

  What is the flow process in the customer every hour

What is the flow process in the customer every hour? Assuming unlimited demand, what is the new flow rate if the center adds the server to bottleneck resource?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd