1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alex
3 years ago
12

Special words are those words that start and end with the same letter. [14]

Computers and Technology
1 answer:
wel3 years ago
3 0

Answer:

<em>This program is written in python programming language</em>

<em>The program uses few comments (See Explanation for further explanation of each line)</em>

<em>See attachment for proper format view of the source code</em>

<em>Program starts here</em>

<em></em>

#Prompt user for Input

inpstring = input("Enter a string: ")

#Reverse user input

revstring = inpstring[::-1]

#Calculate length of user input

i = len(inpstring)

if(inpstring.upper() == revstring.upper()):

     print("The input string is Palindrome")

else:

     if(inpstring[0].upper() == inpstring[i-1].upper()):

           print("The input string is a Special Word")

     else:

           print("The input string is neither Palindrome nor Special")

Explanation:

inpstring = input("Enter a string: ")-> This line accepts input from user

revstring = inpstring[::-1]-> This line reverses user input

i = len(inpstring)-> This line calculates the length of user input

The following if statement checks for palindromes; i.e. if input string is equal to reversed string

if(inpstring.upper() == revstring.upper()):

     print("The input string is Palindrome")

If the above is statement is not true, the following is executed (to check for special word)

else:

The following if statement checks if the first letter of the input string is equal to its last letter

     if(inpstring[0].upper() == inpstring[i-1].upper()):

           print("The input string is a Special Word")

If the above statement if not true, then input string is not a special word and it's not palindromic.

Hence, the its accompanying else statement will be executed

     else:

           print("The input string is neither Palindrome nor Special")

You might be interested in
Answer to this if you have apex legends on either pc xbox one or PS4 for the one that answers and does gets brainliest please do
weqwewe [10]

Answer:

I got it on Ps4

3 0
3 years ago
Read 2 more answers
Operations that run in protected mode must go through which of the following before they can access a computer’s hardware? A. Ke
HACTEHA [7]

Answer:

Option A (Kernal) seems to be the right answer.

Explanation:

  • A Kernel appears to be the central component of such an OS. This handles machine as well as hardware activities, including most importantly storage as well as CPU power.
  • This manages the majority of the initialization as well as program input/output requests, converting them into CPU data-processing commands.

The other given option are not related to the given circumstances. So that option A would be the right answer.

3 0
3 years ago
What made the master so angry with his servant?​
sergeinik [125]

Answer:

what book?

Explanation:

6 0
2 years ago
Read 2 more answers
Configuration reviews are not needed if regression testing has been rigorously applied during software integration.
goldfiish [28.3K]
B) False, reviews and constant matinese is always needed, reviews help the creators understand what people think needs work and what they like, the updates on the site will implement these wants and needs.
8 0
3 years ago
You have been assigned to design the database for a new soccer club. Indicate the most appropriate sequence of activities by lab
lara [203]

Answer:

The solution of this question is given below in the explanation section.

Explanation:

To design a database for a new soccer club, the following sequence of activities will be carried out.

_____8_____Create the application programs.

_____4_____ Create a description of each system process.

_____9_____ Test the system. Load the database.

____7______ Normalize the conceptual model.

___1_______ Interview the soccer club president.

___6_______ Create a conceptual model using ER diagrams.

___2_______ Interview the soccer club director of coaching.

____7______ Create the file (table) structures.

____3______ Obtain a general description of the soccer club operations.

____5______ Draw a data flow diagram and system flowcharts.

The correct orders of activities the to design a soccer club database is given below:

  1. Interview the soccer club president.
  2. Interview the soccer club director of coaching.
  3. Obtain a general description of the soccer club operations.
  4. Create a description of each system process.
  5. Draw a data flow diagram and system flowcharts.
  6. Create a conceptual model using ER diagrams.
  7. Create the file (table) structures.
  8. Normalize the conceptual model.
  9. Create the application program
  10. Test the system. Load the database.
7 0
3 years ago
Other questions:
  • Consider the code below. Note that the catch statements in the code are not implemented, but you will not need those details. As
    11·1 answer
  • Which is NOT a type of SD card?
    8·2 answers
  • What type of document would you use the landscape page orientation
    7·1 answer
  • Which of the following Office Online apps is most effective for creating spreadsheets?
    14·2 answers
  • The option to add the date and time to a document is located in the
    9·2 answers
  • True or False <br><br> The term virus and malware may be used interchangeably.
    13·1 answer
  • What are the three primary separation of concerns on the client-side of a dynamic web application? (Check all that apply)
    13·1 answer
  • ___________ key encryption in wep uses the rc4 encryption algorithm.
    9·1 answer
  • Select the correct answer. Which sign or symbol will you use to lock cells for absolute cell reference?
    9·2 answers
  • Jiz<br>Active<br>2<br>3<br>- 2(7 - 15)<br>What is the value of<br>4​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!