Project 1: Ants vs. Some Bees

Due at: 2024-06-13 11:59:59 PM PST
  1. Q1: Sample Question
  2. Q2: Another Question

Q1: Sample Question

This is a sample question description.

def sample_question(a, b, c):
    """
    >>> another_question(1, 2, 3)
    6
    >>> another_question(0, 0, 0)
    0
    >>> another_question(3, 0, 0)
    3
    """
    return a + b + c

Use Ok to test your code:

python3 ok -q sample_question

Q2: Another Question

This is another sample question description.

public class AnotherQuestion {
    public static void main(String[] args) {
        System.out.println("Hello world!");
        System.out.println("Outside solution");
    }
}

Submission

When you are done, submit your file to Gradescope. You only need to upload the following files:
  • ants.py
You may submit more than once before the deadline; only the final submission will be graded. It is your responsibility to check that the autograder on Gradescope runs as expected after you upload your submission.