Hello all, I have finished all of this exercise, but I don't quite understand how this code works. With the compare variable why do you hand it (choice1, coice2) instead of (computerChoice, userChoice) how does the code know which output is computer and which is user? is it just order of operations? why does the code not work when I hand compare (userChoice, computerChoice) as parameters? Thanks in advance for any clarification.
Choice1 and choice2 are generic inputs that haven't been assigned to many variable. You do this for simplification
When calling the function, whatever you put in the parenthesis takes place of choice1 and choice2
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.