def pig_latin(word):
if word[0].lower() in 'aeiou':
word = word + 'way'
else:
t=''
for x in range(len(word)):
if word[x].lower() in 'aeiou':
break
if word[x].lower() == 'y' and x>0:
break
else:
t+=word[x].lower()
if word[0].isupper():
word = word[len(t):]+word[:len(t)].lower()+'ay'
word = word.title()
else:
word = word[len(t):]+word[:len(t)].lower()+'ay'
return word
word = 'test'
pl = pig_latin(word)
print(pl)
I wrote my code in python 3.8. I hope this helps.
Some example's of coding affecting real life:
- Robots used in factories. can work in extreme conditions.
- Automatic Heater or Air Conditioner.
- Expert Systems used in for Medical Use.
Answer:
OLTP(Online transaction processing) is the correct answer.
Explanation:
It is the database application that is used to catching the transection and that data or information which is related to the technology for the purpose of.
- Process that data and information which is related to the following rules of the business or company.
- It stores the data or information related to the online transaction.
- It also helps to modify the current data or information for the new data or information.
Answer:
are u sure this is the right question?
Explanation: