PYTHON QUIZwaclaw_koscielniakJul 21 min readx = [1, 2, 3, 4]y = [sum(x[0:i-1]) for i in range(0, 4)]print(y)[Running] python3 -u "/Users/name/test/test38.py"[6, 0, 1, 3][Done] exited with code=0 in 0.053 seconds#VisualStudioCode #PythonQuizPython Quiz.
Did you try to run it?