lst = [[1, 2], [3, 4]]
max_num = 0

for i in range(len(lst)):
    if sum(lst[i]) > max_num:
        max_num = sum(lst[i])

print(max_num)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: