I am in the first lab of week 1 and I try to run the “simulated_prob = simulate(problem_1, n_students=n, n_simulations=10_000)” but it doesn’t output anything (it should print a line with the result). Can anyone shed a light on why it is not working?
In the mean time I tried the second problem which doesn’t run either. The number between the appears, but there is no result.
Thanks! Henny
hi @hdongen
are you stating above code line from a grade cell assignment?
did you add a #print statement for you to get the value you are looking for??
Also remember the result output is shown when you run the test cell given after the grade cell where you write your codes.
you do not write codes for the test cell just run them down, to check if your codes in the grade cell where written correctly. You are also not suppose to edit anything outside the markers ###Start and end code here### in case you are doing a graded assignment. Only write codes given as per instructions already given at the beginning of you open the lab.
Hope this helps!
Regards
DP
After the third time this happened, I tried reloading the lab and that worked. So the problem has been resolved.
Dear DP, Like I said it was the first lab of week 1, not a graded assignment. I am aware of not posting code of grades assignments. But the problem has been solved by reloading the lab.
can you share a screenshot of which part of code you are mentioning? as you stated its non grades assignment.
Seems like your issue is also resolved. Sometimes if the kernel get disconnected due to network issue, such things happen. One cannot confirm what could be the real issue from the third person perspective as we don’t know what could be issue more.