python-tutorial
python-tutorial copied to clipboard
Problems in the datatypes notebook
- The correct solution for the following exercise doesn't work:
%%ipytest
def solution_lists_are_equal(list1: list, list2: list) -> bool:
# Your code starts here
return list1 == list2
# Your code ends here
It fails one test case.
- This example should fail, but it doesn't in Python 3.11. We should add a note
# This should fail.
2.5 + "1.5"
- Exercises on sets are not checked? When I run the cells, nothing shows up.