Question: Could you write the function in python? 3. Writing a function (6 points). Write a function named badger that takes two parameters, a string and

Could you write the function in python? 3. Writing a function (6Could you write the function in python?

3. Writing a function (6 points). Write a function named badger that takes two parameters, a string and a number. The function should print the string, followed question mark, the given number of times. For example, badger("really", 3) should produce the output really? really? really? You may assume the number is a positive integer. You do not need to write a docstring

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!