Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update 2-lists.md
Fixed the type and punctuation of Programming exercise:
Only these numbers
  • Loading branch information
manisha-nair28 authored Mar 5, 2024
commit 0effb04b28733aa74af0be0fbd9ebe1ef14541d3
2 changes: 1 addition & 1 deletion data/part-3/2-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@ The exercise template contains a base that reads numbers from the user and adds

<!-- Lisää ohjelmaan toiminnallisuus, joka lukujen lukemisen jälkeen kysyy käyttäjältä alkuindeksiä ja loppuindeksiä. Tämän jälkeen ohjelman tulostaa listalla olevat luvut käyttäjän syöttämien indeksien välillä. Voit olettaa, että käyttäjä syöttää indeksit, jotka löytyvät listalta. -->

Expand the program to ask for a start and end indices once it has finished asking for numbers. After this the program shall prints all the numbers in the list that fall in the specified range (between the indices given by the user, inclusive). You may assume that the user gives indices that match some numbers in the list.
Expand the program to ask for start and end indices once it has finished asking for numbers. After this, the program shall print all the numbers in the list that fall within the specified range (between the indices given by the user, inclusive). You may assume that the user gives indices that match some numbers in the list.

<!--
<sample-output>
Expand Down