William M. answered 05/31/23
Computer/HS Instructor w/7+ years teaching Computer Science

Bryce H.
asked 02/25/23Create a new function in your functions.py script called getAnswer() that takes one numerical argument called answerNumber.
use the following code inside the new getAnswer() function:
In the ICE1.py script, use the random generator and generate a number between 1 and 9. Pass the number into the getAnswer() function and print out the users fortune.
William M. answered 05/31/23
Computer/HS Instructor w/7+ years teaching Computer Science
Salena G. answered 02/26/23
Experienced High school and College (English& Computer) tutor
Hi Bryce! We can schedule a short lesson about this, I can get you where you want, thanks!
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.
William M.
05/31/23