Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Please complete the following exercises. · XXXXXXXXXXpage 473) · XXXXXXXXXXpage 473) · XXXXXXXXXXpage 475) Develop your files in Jupiter and submit .ipynb files. Also submit any txt, csv or other...

1 answer below »

Please complete the following exercises.

· XXXXXXXXXXpage 473)

· XXXXXXXXXXpage 473)

· XXXXXXXXXXpage 475)

Develop your files in Jupiter and submit .ipynb files. Also submit any txt, csv or other format files necessary to execute your code.

ALL EXERCISE MUST BE DONE IN PYTHIN CODING AND DEVELOP IN JUPITER!!!

WHEN ALL EXERCISES WILL BE DONE PLEASE SEND ME ALL EXERCISE SEPARATELLY WITH THE NAME OF EXERCISE FOR EXAMPLE:

11.17.ipynb

11.17.ipynb

and so on

.

.

.

Also all separately DOCUMENTS with the name of exercise txt, csv or other format files necessary to execute your code.

ALSO PLEASE MAKE SURE THAT IF YOU WILL SEND ME THIS CODES I WILL BE ABLE SEND IT RIGHT AWAY TO MY TEACHER TO NOT DO ENYTHING MORE JUST DANWLOAD AND SEND IT FORWARD TO MY TEACHER

Also please give those assignmentsto Sudipta Expert i like the work and he knows what to do

THANK YOU

DAWID

Answered Same Day Nov 16, 2021

Solution

Sudipta answered on Nov 21 2021
148 Votes
11.17.py
class BucketSort:
def sort(a
):
bucket = []
for i in range(len(a
)): #creating empty buckets
bucket.append([])
for j in a
: #insert value into buckets
index_b = int(10 * j)
bucket[index_b].append(j)
for i in range(len(a
)): #sort each buckets value
bucket[i] = sorted(bucket[i])
indx = 0
for i in range(len(a
)): #getting the values after they are sorted
for j in range(len(bucket[i])):
a
[indx] = bucket[i][j]
indx += 1
return a
A = [.21, .28, .11, .07, .33, .49, .56]
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here