Garbage Coding Environment


In Python , I get AttributeError: 'list' object has no attribute 'end' . But when I print out the same object, it prints out the end value. Take the question from interviewbit and solve it on leetcode is a better strategy.
Moreoever, why is there no python 3 in 2020? This website looks like made by a child on a weekend as a hobby project.