Skip to content

Commit ff237b7

Browse files
authored
removed deprecated challenge
Removed mention and response to challenge that was removed from lesson 06-loops-and-functions.md
1 parent 220aaec commit ff237b7

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

_extras/guide.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -421,13 +421,6 @@ surveys_year = surveys_df[surveys_df.year == year].dropna()
421421
~~~
422422
{: .language-python}
423423

424-
* What happens if there is no data for a year in the sequence (for example, imagine we had used 1976 as the start year in `range`)
425-
426-
~~~
427-
An empty file with only the headers
428-
~~~
429-
{: .output}
430-
431424
* Let's say you only want to look at data from a given multiple of years. How would you modify your loop in order to generate a data file for only every 5th year, starting from 1977?
432425

433426
You could just make a list manually, however, why not check the first and last year making use of the code itself?

0 commit comments

Comments
 (0)