Lists | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Lists

This is a question. but some errors in this function. number = 3 things = ["string", 0, [1, 2, number], 4.56] print(things[1]) print(things[2]) print(things[2][2]) the solution of this task is 0 [1, 2, 3] 3 however, an error occurs "SyntaxError: multiple statements found while compiling a single statement" how can I figure it out?

14th May 2020, 12:09 PM
Naehyun(Ray) Park
1 Answer