
Sophie V. answered 03/01/23
Software Engineer Specializing in Python, CS Degree

Dhanu P.
asked 11/30/22Given integer inputs seed, how_many, and max_num, generate a list of how_many unique random integers from 0 to max_num (inclusive).
unique_random_ints(how_many, max_num)
:
Refer to the section on the standard library to learn more about the random module and pseudo-random numbers.
Ex: If the input is:
the output is
Sophie V. answered 03/01/23
Software Engineer Specializing in Python, CS Degree
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Sophie V.
Hello. The code is provided. Please let me know if you need me to make any adjustments. I was not 100% sure how your inputs (seed, max_num, how_many) will be provided. I assumed they were live user inputs like the picture shows.03/01/23