Skip to content

Commit

Permalink
Update python-quiz.md
Browse files Browse the repository at this point in the history
Corrected grammatical errors in Ebazhanov#75
  • Loading branch information
monkrus authored Apr 19, 2021
1 parent 8ed467c commit 9580019
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/python-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,8 @@ def calculate_sales_tax(subtotal):
[Reference](https://www.guru99.com/python-lambda-function.html)

#### Q75. What is the primary difference between lists and tuples?
- [ ] You can access a specifc element in a list by indexing to its position, but you cannot access a specifc element in a tuple unless you iterate through the tuple
- [x] Lists are mutable, meaning you can change the data that is inside them at an time. Tuples are immutable, meaning you cannot change the data that is inside them once you hav ecreated the tuple.
- [ ] Lists are immutable, meaning you cannot change the data that is inside them once you hav ecreate the list. Tuples are mutable, meaning you can change the data that is inside them at any time.
- [ ] You can access a specifc element in a list by indexing to its position, but you cannot access a specific element in a tuple unless you iterate through the tuple
- [x] Lists are mutable, meaning you can change the data that is inside them at any time. Tuples are immutable, meaning you cannot change the data that is inside them once you have created the tuple.
- [ ] Lists are immutable, meaning you cannot change the data that is inside them once you have created the list. Tuples are mutable, meaning you can change the data that is inside them at any time.
- [ ] Lists can hold several data types inside them at once, but tuples can only hold the same data type if multiple elements are present.

0 comments on commit 9580019

Please sign in to comment.