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.
Out door air pollution has been a problem since ancient Romans...but the industrial revouloution was when outdoor air pollution increased and it a significant problem...
hope this helps
Earthquakes happen in the Earths "CRUST" because all of the tetonical plates are located in the crust.
hope this helped
Answer:
The correct options are;
-Position the keyboard directly in front and close to you so you don't have an excessive reach
-Keep your shoulders, arms, hands and fingers relaxed
-Position your wrists straight or in neutral position while typing
-Adjust your chair height and position so your feet rest flat on the floor, or add a footrest to compensate for a higher chair
-Adjust the keyboard height so that your shoulders can relax and your arms are straight in front of you
Explanation:
1) It is important to keep the fingers in a relaxed position when typing
2) Ensure to type in a tapping fashion when typing rather than pressing on the keys of the keyboard
3) The fingernails should be kept short when frequent typing is done
4) The wrist is better kept above the keyboard than resting on it
5) Ensure that the mouse is easily reached.
Answer:
A. f/2.8
Explanation:
A hole within a lens, through which light travels into the camera body is referred to as the APERTURE.
It is typically expressed as "f number" in photography. Basically, a fast lens is any lens with a maximum aperture of f/4 or more i.e f/2.8 , f/1.8 , f/1.4 etc.
The smaller the number is the bigger the maximum aperture is. Hence, the bigger the maximum aperture the more light that your lens will allow in.
Therefore, the ideal aperture settings for a fast lens is f/2.8