Skip to content

ValueError: list.remove(x): x not in list #155

@MindyZHAOMinzhu

Description

@MindyZHAOMinzhu

ValueError: list.remove(x): x not in list

Describe your environment

  • Python version:Python3
  • Hardware:mac
  • Jupyter notebook or not? [Y/N]:N
  • Which chapter of book?:4

I work on Exercise 1 and I meet a problem.

Describe your question

image
image
From my perspective, i is in the list1 and obviously it it in the student_list, but there is error.

Describe the efforts you have spent on this issue

I have Google it but I do not find some similar problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions