PrepAway - Latest Free Exam Questions & Answers

Category: 98-381

Exam 98-381: Introduction to Programming Using Python

Which two functions should you use? Each correct answer presents a complete solution. (Choose two.)

You are writing code that generates a random integer with a minimum value of 5 and a maximum value of 11. Which two functions should you use? Each correct answer presents a complete solution. (Choose two.) A. random.randint(5, 12) B. random.randint(5, 11) C. random.randrange(5, 12, 1) D. random.randrange(5, 11, 1) References: https://docs.python.org/3/library/random.html#