๐Ÿš€ Activity: Hello, World! JupyterHub

# You must make sure to run all cells in sequence using shift + enter or you might encounter errors
from pykubegrader.initialize import initialize_assignment

responses = initialize_assignment("6_Activity_1_Using_the_JupyterHub", "week_1", "lecture", assignment_points = 5.0, assignment_tag = 'week1-lecture')

# Initialize Otter
import otter
grader = otter.Notebook("6_Activity_1_Using_the_JupyterHub.ipynb")

๐Ÿš€ Activity: Hello, World! JupyterHub#

๐ŸŽ‰ Welcome to your first adventure in JupyterHub! Letโ€™s kick things off with a classic โ€œHello, World!โ€ assignmentโ€”because why not keep traditions alive, right? Oh, and donโ€™t forget to share something fun about yourself and your neighbor (friendly vibes only!).

Steps to Complete Your โ€œHello, World!โ€ Assignment#

  1. ๐Ÿ–ฅ๏ธ Head over to the course website: JupyterBook.

  2. ๐Ÿ›ธ In the upper right corner, find and click the rocket icon (itโ€™s not there just for showโ€”it launches JupyterHub ๐Ÿš€).

  3. ๐Ÿ”’ Youโ€™ll land on a login page. Select Drexel University and log in with your Drexel credentials. Easy peasy.

  4. ๐Ÿ› ๏ธ Next, pick an environment from the options. Choose ENGR_131 because weโ€™re sticking to the script here.

  5. ๐Ÿ“‚ If all went well, the Jupyter Notebook file should automatically open. If it didnโ€™tโ€ฆ well, try again (or maybe ask for help).

  6. โœ๏ธ In the first cell, type this masterpiece of code:

    print("Hello, World! My name is <type your name>")
    

    ๐Ÿšจ Pro tip: Replace <type your name> withโ€”wait for itโ€”your actual name.

  7. ๐ŸŽฏ Hit Shift + Enter to execute your code. Voilร ! You should see your name in lights (or at least printed on the screen).

๐Ÿ’ก And thatโ€™s it! Youโ€™ve officially joined the ranks of coders who started their journey with โ€œHello, World!โ€ Donโ€™t forget to share your fun factโ€”itโ€™s your chance to be the most interesting person in the room!

Now, go forth and code like a star ๐ŸŒŸ.

def print_hello_world():
    # This line of code defines a function
    # You should write your code where the ... is located
    # Do not change code above this line

    ...
grader.check("activity-1-Hello-World-JupyterHub")

Submitting Assignment#

Please run the following block of code using shift + enter to submit your assignment, you should see your score.

from pykubegrader.submit.submit_assignment import submit_assignment

submit_assignment("week1-lecture", "6_Activity_1_Using_the_JupyterHub")