You can use predesigned, formatted files called -templates- to create new worksheets quickly.
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.
Visible outline.
hope this helps
The two features could be added to a game using an "if () then " block are:
- Using nested If Then blocks.
- Checks the specific Bid quantity for the instrument.
<h3>What does the If Then block mean?</h3>
The If Then block is known to be the outputs one of a given two values, that is as a result of the value of a Boolean input.
Note that the input value is very important and as such, The two features could be added to a game using an "if () then " block are:
- Using nested If Then blocks.
- Checks the specific Bid quantity for the instrument.
Learn more about game from
brainly.com/question/1786465
#SPJ1