I study singly linked list in python through leetcode problems.
In leetcode, it explains about definition for singly-linked list as follows.
# Definiti