def main():
word = “Aroha”
hidden_word = hide_middle_of_word(word)
print_hidden_word(word, hidden_word)
word = “Rorohiko”
hidden_word = hide_middle_of_word(word)
print_hidden_word(word, hidden_word)
word = “Si”
hidden_word = hide_middle_of_word(word)
print_hidden_word(word, hidden_word)
def hide_middle_of_word(word):
pass
def print_hidden_word(original_word, hidden_word):
pass
main()
The above is what was given already and below is the question.:)
Only need 3.2. 🙂 how to do thiswithout using for-loop?

EXERCISE 3.2 Complete the following functions in the Lab03Ex2.py file: (a) hide_middle_of_word(word): This function is passed a string parameter, word. The function returns a string made up of the first letter of the parameter string followed by a series of hyphens
PayPal Gateway not configured
PayPal Gateway not configured