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
How to bypas power switch on pc and make it switch on
Andreas93 [3]
If your powersupply has the standard 24 pin connector, you can make it switch on by connecting a green and a black (find a good picture to see the pin numbers). Google for the "paperclip test" for details.
6 0
3 years ago
What is a space flight that doesn’t complete a full orbit referred to as?
Vikentia [17]

Answer:

A flight that does not reach space is still sometimes called suborbital, but is not a 'suborbital spaceflight'. Usually a rocket is used, but experimental sub-orbital spaceflight has also been achieved with a space gun.

Explanation:

3 0
3 years ago
Find the cost of 2m 20cm at 25p per metre​
juin [17]

Answer:

length * cost per unit

2.2*25

= 50 pounds

5 0
2 years ago
PLEASE HURRY PLEASE HELP THIS CLASS ENDS TODAY AND I NEED HELP
Fofino [41]

Answer:

She could have given access to the computer to the techician

Explanation:

"as well as any special settings or configurations she thinks may be relevant." This might inculd any information to hack the computer

6 0
2 years ago
Choose the types of education and iss professional is most likely to have
shutvik [7]

Answer:

A and D

Explanation:

Just took it on edgenuity

8 0
3 years ago
Other questions:
  • Which program or security application prevents access between a private and trusted network, and other untrusted networks?
    8·2 answers
  • What is an accessory?
    6·1 answer
  • The control programs managing computer hardware and software perform the _________ function to control and prioritize tasks perf
    8·1 answer
  • How can you be more efficient on the internet? No more than two sentences (Cause i need to do the problem by myself mostly) Than
    7·2 answers
  • A network administrator has been creating a baseline of network performance. During this process, he realizes that one router is
    14·1 answer
  • Write a program with a method computeCommission which takes a double that is the salesAmount and returns the commissions for sal
    9·1 answer
  • Which branch of science helps avoid or minimize stress-related injuries at workplace?
    14·2 answers
  • Hey im b---o---r---e---d dont report cuz if u do ur l a m e :)
    14·1 answer
  • Jill is configuring the AutoArchive feature in Outlook 2016. What is the default setting in relation to when AutoArchive
    8·1 answer
  • How can IT infrastructure be linked to the business strategy of any organization
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!