Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a function evenLetters ( ) that has a string parameter named word. The function will return the even letters in a word. The even
Create a function evenLetters that has a string parameter named word. The function will return the even letters in a word. The even letters are the letters that have an even numbered index. If the word is less than letters long, return a message "the word is too short".Create a function halfWord which returns the second half of a word with each letter separated by a dash. Your function will accept a string parameter called word. If the word is less than letters long, return a message "the word is too short".Write a function guess that prompts the user to guess a number from to Your function will accept a parameter called answer which will be an int between and Your function will continue to prompt the user until they guess the correct number. Your function should use similar prompts shown below.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started