Answered step by step
Verified Expert Solution
Question
1 Approved Answer
questionss 4 and 5. MC Truy trasts LTIC >>> chases('snake', 'frog'), The snake chases the frog >>> chases('hawk', 'snake') The hawk chases the snake Ok,
questionss 4 and 5.
MC Truy trasts LTIC >>> chases('snake', 'frog'), The snake chases the frog >>> chases('hawk', 'snake') The hawk chases the snake Ok, now answer these questions by calling your functions and passing in the appropriate argum Write the answers next to the corresponding number in the functions.py answer section. 1) What is the sum of 11034567, 999, and 76576? 2) Enter the command random.seed (42). Call forecast. What is the chance it will rain 3) Better verify that. Call forecast again. What's the new prediction? 4) What is 90 in radians? 5) 180? 6) What is erf plus gamma of 0.5? 7) What is erf plus gamma of 0.25? 8) What is erf plus gamma of 0.1? Verify that your documentation maken Torecast chance of rain today: 74 % 4.) Write a function called radians that takes an angle in degrees and prints it converted to radians. The formula for turning an angle in degrees into radians is: radians = degrees **/ 180. Use math.pi for it. You should round the result to three decimal places using the built-in round function. The documentation is here. I suggest messing around in the shell with rou to see how it works. Here are some examples of calling the function with different argument (The code executed is in blue, the output produced is in green): radians (200) The angle in radians is: 3.491 radians (30) The angle in radians is: 0.524 5.) Write a function called decimal that takar um
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started