-
This is my code:
# Uncomment and complete this code - keep the names the same for testing purposes.
from math import pi, sqrt
def period(a, m_planet, m_sun=2e30, G=6.67e-11):
P_mars = sq…
-
I am currently working through lecture 2 and managed to solve exercise 2.2 using the following code
```v_0 = 1
g = 9.81
n = 10
t_start = 0
t_end = 2 * v_0 / g
tlist = np.linspace(t_start, t_…
-
Apologies if this a really daft question. I am using the online jupyter workbooks to work through the exercises with no anaconda environment installed on my macbook. I am unsure of how to open the loc…
-
Are there any technologies available to check academic misconduct in students' work, which also play nicely with Otter formatted notebooks? I am specifically looking for something with the following f…
-
**Describe the bug**
Getting EOF error while running the demo programs
**To Reproduce**
Steps to reproduce the behavior:
Execute demo programs in jupyter Notebook
**Expected behavior**
Progr…
-
The tests directory is missing many docstrings and type hints. These should be added to make it easier to maintain. Also consider breaking up some of the longer methods for testing whole objects into …
-
Forked repo and tried creating codespace off of main but ran into the following error.
```
2022-12-15 06:58:08.963Z: #8 10.14 Building dependency tree...
2022-12-15 06:58:09.122Z:
2022-12-15 06…
-
My code gives the correct answer but I got failed the OK test:(
Could anyone help me with that?
My code:
```
from itertools import islice
import re
def read_constants(file_path):
with ope…
-
To whom it may concern,
I have finished several Exercises, and when I used the pybryt to check about it, all of them will have the attributeerror.
It confused me for I want to fix my code but d…
-
Hi here is my code for excercise 1.18 and it turns out to be a error. However when i compute this in pycharm, it gives the correct answer.
def compute_heights(h_0=1.0, h_1=0.3, n=10):
l=[]
…