isdsucph / isds2022

Introduction to Social Data Science 2022 - a summer school course https://isdsucph.github.io/isds2022/
MIT License
21 stars 23 forks source link

Submitting answers #4

Open Laurits00 opened 2 years ago

Laurits00 commented 2 years ago

I'm not sure how we should submit our answers. It says that we should erase the line "raise NotImplementedError()" and write our answer here. And that the cell below contains assert statements which will check when we hand in our answers.

Is the assert statements supposed to appear, when we write the correct answer and run the cell?

image

I've tried solving the first exercise, and nothing happens. Maybe I'm missing something? I assume that it's not necessary to specify that the answer should be an integer, since it already is.

Fraekfyr91 commented 2 years ago

The cell below answer_001=3+5 contains assert statements that check your answers, but you cannot see the result of this yourself, also it cannot be edited.

Hope this answers your question. Kind regards Lasse

Laurits00 commented 2 years ago

Thank you! Does it make a difference whether we make a gap between the different elements of the answer? Like, does it make a difference whether I submit an answer as "x=1+1" or "x = 1 + 1"?

ericka-2021 commented 2 years ago

the space doesn't make a difference coding wise here. but it is a preferred among programmer. I suppose aesthetic reason, or it used to make a difference.

NiccoloGhionzoli commented 2 years ago

Hi there! is there an error in exercise 0.1.2? There are 4 strings but you are asked to add together three strings.

Best regards, Niccolò

Fraekfyr91 commented 2 years ago

Hi Niccolò, yes you are right, you shall add four strings.

Kind regards Lasse