-
Related to #74 -- `nonlocal` still isn't quite working.
exercise:
https://campus.datacamp.com/courses/1533/3850?ex=15
code:
https://github.com/datacamp/HBA-python-problem-playground/blame/master/ch…
-
I'm trying to use `test_try_except()` within `test_function_definition()`.
I am using this as a model: https://github.com/datacamp/pythonwhat/wiki/test_try_except
No luck yet!
It seems to tell me '…
-
I am trying to write an SCT for the solution code below (see my SCT attempt below it).
I cannot figure out how to `test_for_loop()` within this `test_function_definition()`. Probably related to my n…
-
I am unable to write an SCT to test a for loop in a function definition. It involves *args, which work very well in the SCTs now, it seems! I have used the response to #70 & #83 as a guide for this SC…
-
`test_function_definition()` is an incredible function! It's working beautifullly in general, however there is an issue:
see [this exercise](https://campus.datacamp.com/courses/1532/3847?ex=7) and th…
-
SCT needed for generator expressions such as
```
result = (num for num in range(31))
```
-
Hi! See this exercise: https://campus.datacamp.com/courses/1533/3850?ex=12
Code here: https://github.com/datacamp/HBA-python-problem-playground/blame/master/chapter1.md#L740
I am having a number of…
-
These are also good interactive resources for students learning Python:
For Python language: https://www.datacamp.com/courses/intro-to-python-for-data-science
For Random Forest: https://www.datacamp.…
-
Several R functions take the 'ellipsis' argument, where you can pass in a bunch of arguments without having to necessarily name them. If you don't name them, `match.call()` doesn't know what to do and…
-
Hi! I have done my best to write an SCT for a solution script in which i have an if-else statement in a for loop in a try-except in a function definition. I apologize that this is ridiculous (it's way…