demo¶
Demo Computing Laboratory. One task only to get to know the system. You are welcome to use this as a playground to better understand how to submit assignments, and understand the feedback you get from the system. Note we have a video (42) and a webpage that explain this in detail.
Relevant supplementary video :
add(a, b)
¶
Write a function add(a, b)
that takes two numbers a
and b
and returns
their sum.
In [ ]: add(1, 2)
Out[ ]: 3
In [ ]: add(-10, 2)
Out[ ]: -8
In [ ]: add(0, 42)
Out[ ]: 42
In [ ]: add(0.5, 0.5)
Out[ ]: 1.0
See also the webpage on Computing lab demo tutorial: how to read feedback messages for a
detailed write up and walk through of the lab and possible messages from the feedback system.
If you prefer to watch a video, you can use
this video walk through.
You can submit a file demo.py
to explore the behaviour of the feedback system.
End of demo.