Saturday, April 11, 2020

Answer for Define a function that adds 5 to the parameter. Then, define another function that will multiply the newly obtained number by 3. Verify your code was correct by calling the second function with an argument of 5. Was your output equal to 30?

https://365datascience.com/dwqa-answer/answer-for-define-a-function-that-adds-5-to-the-parameter-then-define-another-function-that-will-multiply-the-newly-obtained-number-by-3-verify-your-code-was-correct-by-calling-the-second-function/ -

Hi Raj, 

when I run the code, I get an output of (10, 30), so there seems to be an issue somewhere else in the code. I’d suggest you restart your kernel and run only this line, to see if that changes the result.

 

Best, 

Eli




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment