Make sure you have Xcode installed from the Mac App Store as well.
Part 1: Quiz
In this camp, the homework is split into two parts: a quiz and a coding question.
To run the quiz for this assignment, cd into the folder and run the following command:
python3 op -q 1
Looks familiar, isn’t it? We’re going to continue using the Op system for the WWDC camp this year. Once you execute that command, you should be able to see questions pop up and you can answer them just like how you answered WWPD questions last year.
Part 2: Coding questions
To do the coding questions, open up the coding.playground file in the folder. You need Xcode for this!
Replace the underlines with an expression that the question asks for. When you’re done, hover your mouse over the line numbers on the left and you should see a play button. On the line where it says Test.defaultTestSuite.run, hit the play button. That will run the code up to that point and you can check whether your answer is correct in the terminal.
An example is shown below:
When you’re done with the entire assignment, Wechat either Michael or I the screenshots of your part 1 & 2. The uploading feature still isn’t working since my site got hacked–rip.