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
Katen [24]
3 years ago
15

Write a python program that requests a word (with lowercase letters) as input and translates the word into pig latin. The rules

for translating a word into pig latin are as follows: a. If the word begins with a consonant, move the first letter to the end of the word and add ay. For instance, chip becomes hipcay. b. If the word begins with a vowel, add way to the end of the word. For instance, else becomes elseway.
Computers and Technology
2 answers:
Masteriza [31]3 years ago
4 0

Answer and Explanation:

X = input("Enter input word to be  translated to pig latin: ")

# If the word begins with a vowel, add way to the end of the word

if X[0] == "a" or "e" or "i" or "o" or "u":  

   print(X + "way")

#the other condition

#If the word begins with a consonant, move the first letter to the end of the word and add ay

else:

   print(X[1:] + X[0] + 'ay')

solmaris [256]3 years ago
3 0

Answer:ogbef

Explanation:

You might be interested in
What is stand-alone LDAP server?
FinnZ [79.3K]

Answer:

A stand-alone LDAP server is defined as to remove the load from a server that does multi function tasks. It is more efficient when we use one or more LDAP configurations .

Light weight Directory Access Protocol (LDAP) is a client and server protocol used for accessing directory data. It  helps in reading and editing the directories over IP networks and runs directly over Transmission control protocol and internet protocol used simple string format for transferring of data.

8 0
3 years ago
A Windows user is attempting to exit a locked up desktop application that is not responding to mouse or keyboard input. Which of
Kamila [148]

Answer:

Open Task Manager and end the process associated with the application.

Explanation:

When using a computer installed with the Windows Operating system and an application is not responding to the mouse or keyboard input, you can end such application process without exiting other open applications by opening the task manager using the key combinations "CTRL + ALT + DEL". This would open the Task Manager showing all the open application and then you can end the process associated with the application that is not responding.

3 0
4 years ago
What is the function of a control unit?
nordsb [41]
The control unit (CU) is a component of a computer's central processing unit (CPU) that directs the operation of the processor. It tells the computer's memory, arithmetic/logic unit and input and output devices how to respond to the instructions that have been sent to the processor.
3 0
3 years ago
What role does music play in marketing?
OLEGan [10]
The role music plays in marketing is emotion. 
5 0
3 years ago
Read 2 more answers
Task Instructions
Reil [10]

Answer:

= B9 + B10 - E8

Explanation:

Required

Create a formula in E10 that subtracts E8 from the sum of B9 and B10

The sum of B9 and B10 is represented with B9 + B10

When E8 is subtracted, the formula becomes B9 + B10 - E8

To write a formula in Excel, you start with " = " sign.

So, type the following in cell E10

<em>= B9 + B10 - E8</em>

<em />

<em>The cell references in this case are the name of the cells; i.e. B9, B10 and E8</em>

7 0
3 years ago
Other questions:
  • How do you turn on the Track Changes feature in a spreadsheet?
    8·1 answer
  • You are a very small company that sells healthcare insurance plans. You estimate that the breach of your customer database will
    6·1 answer
  • Content controls cannot be removed, only edited. Please select the best answer from the choices provided
    10·1 answer
  • Does someone know what type of usb is that one called?
    15·2 answers
  • Angelika just submitted her product for the first time, and she had 2 errors, 3 warnings, and 5 notifications. What does she nee
    6·1 answer
  • What is the information age?
    12·1 answer
  • In cell B20, enter a function to calculate the average attendance for 2018
    11·1 answer
  • (Game Design) Creating and manipulating data structures is one of the primary functions of a development environment.
    12·2 answers
  • Which of the following best describes a situation where software should be upgraded instead of replaced?
    6·1 answer
  • Select the device that will have the most network ports
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!