# 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#
๐ฅ๏ธ Head over to the course website: JupyterBook.
๐ธ In the upper right corner, find and click the rocket icon (itโs not there just for showโit launches JupyterHub ๐).
๐ Youโll land on a login page. Select Drexel University and log in with your Drexel credentials. Easy peasy.
๐ ๏ธ Next, pick an environment from the options. Choose ENGR_131 because weโre sticking to the script here.
๐ If all went well, the Jupyter Notebook file should automatically open. If it didnโtโฆ well, try again (or maybe ask for help).
โ๏ธ 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.๐ฏ 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")