Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

import introcs # For assert _ equals import funcs # This is what we are testing # Put your code below this line result =

import introcs # For assert_equals
import funcs # This is what we are testing
# Put your code below this line
result = funcs.has_a_vowel('aeiou')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('yam')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('dream')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('dine')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('one')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('two')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('cursive')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('feet')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('goat')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('sun')
introcs.assert_equals(True,result)
# Do not write below this line
print('Module funcs is working correctly'import introcs # For assert_equals
import funcs # This is what we are testing
# Put your code below this line
result = funcs.has_a_vowel('aeiou')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('yam')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('dream')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('dine')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('one')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('two')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('cursive')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('feet')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('goat')
introcs.assert_equals(True,result)
result = funcs.has_a_vowel('sun')
introcs.assert_equals(True,result)
# Do not write below this line
print('Module funcs is working correctly'

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What are the four steps involved in developing personal creativity?

Answered: 1 week ago

Question

Describe the seven standard parts of a letter.

Answered: 1 week ago

Question

Explain how to develop effective Internet-based messages.

Answered: 1 week ago

Question

Identify the advantages and disadvantages of written messages.

Answered: 1 week ago