Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+4 votes

For questions 2 and 3, my code prints whatever I have in the function plus the test for the first test but for the others, it just displays the test

asked in old_CSC201 by (1 point)

1 Answer

+1 vote

Problems 2 and 3 are asking you to write a function. The code you put into the Moodle answer box is ONLY the definition of the function.

Any calls to the function that you put in Thonny to check that your function executes correctly are not part of the anwer for Moodle when the problem only says Write a function....

answered by (1 point)
...