python-tutorial icon indicating copy to clipboard operation
python-tutorial copied to clipboard

Problems in the datatypes notebook

Open yakutovicha opened this issue 9 months ago • 0 comments

  1. 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.

  1. This example should fail, but it doesn't in Python 3.11. We should add a note
# This should fail.
2.5 + "1.5"
  1. Exercises on sets are not checked? When I run the cells, nothing shows up.

yakutovicha avatar Apr 29 '24 10:04 yakutovicha