I'm new to Dev world as well, And your example was explained really well, But I didn't understand why the Evolution function needs a second argument in it's definition.. As we are prompting the user to input the second argument.
I was under the thought that I needed a “holder” for the prompt so we can pass that through the individual Pokémon function to get their evolution result.
Also, I wanted to help my friend meet assignment requirements, which asked for 2 arguments.
But, I should definitely try it out without the second parameter.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm new to Dev world as well, And your example was explained really well, But I didn't understand why the Evolution function needs a second argument in it's definition.. As we are prompting the user to input the second argument.
I was under the thought that I needed a “holder” for the prompt so we can pass that through the individual Pokémon function to get their evolution result.
Also, I wanted to help my friend meet assignment requirements, which asked for 2 arguments.
But, I should definitely try it out without the second parameter.