Python assignment (functions)

Question Description

complete the five problems in the attached file. those problems are asking to create functions using IDLE .

1-Write a function called min that will take three numbers and print the minimum. With a
properly constructed function, it should be possible to run the following:
print( min(4,7,5))
print( min(-2,-6,-100))
print( min(Z,B,A))
with this results:
4
-100
A
2- Write a function called box that will output boxes given a height and width. Calling the
function with the following:
box(7,5)
print()
box(3,2)
print()
box(3,10)
print()
Should the result in:
*****
*****
*****
*****
*****
*****
*****
**
**
**
**********
**********
**********
3- Write a function called find that will take a list of numbers, list, along with one other number,
key. Have it search the list for the key. Each time your function finds the key, print the position
of the key.
Calling the function like this:
List=[36,36,79,96,36,91,77,33,19,3,34,70,12,12,54,98,86,11,17,17]
find(list,12)
find(list,12)
find(list,12)
It should print out:
Found 12 at position 12
Found 12 at position 13
Found 91 at position 5
4) Write a function that takes a string input and prints which words are repeated and how many
times they are repeated. For e.g. if input is “Mother Mother where are you now, are you near or
are you far” the output will be
“Mother” is repeated 2 times, “are” is repeated 3 times, “you” is repeated three times
5) Write a function that takes sequence of numbers as input, an empty string input terminates the
sequence, and prints them in ascending order

We offer the bestcustom writing paper services. We have done this question before, we can also do it for you.

Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.