From 9d34c788ba7830544edd02d4e23322522e4d4384 Mon Sep 17 00:00:00 2001 From: Faithdgreat4life Date: Sat, 7 Sep 2024 17:40:04 -0500 Subject: [PATCH] Initial commit --- solutions/python3/2.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/solutions/python3/2.py b/solutions/python3/2.py index 7354952..f81172f 100644 --- a/solutions/python3/2.py +++ b/solutions/python3/2.py @@ -1,8 +1,8 @@ -# Definition for singly-linked list. -# class ListNode: -# def __init__(self, x): -# self.val = x -# self.next = None +#Definition for singly-linked list. +class ListNode: + def __init__(self, x): + self.val = x + self.next = None class Solution: def addTwoNumbers(self, l1: ListNode, l2: ListNode) -> ListNode: