What is the output of this code?
list = [1, 1, 2, 3, 5, 8, 13]
1/17/2020 12:13:41 PM
There is a closing parenthesis missing at the end of the line with the print() statement. Then the code does run properly.
There is a codeplayground, use the searchbar to find your answer.
Kindly delete this post as it is a duplicate and does not follow the rules of this community.
Read more here:
In fact, googling for
python print list list site:sololearn.com
at least 7 similar questions came out.
Do not worry anyway, you are not the only one to infringe rules!
If u close the paranthesis then u LL get 8 as output...
yep close the parenthesis on the print statement. like this print(list[list])
Send us a message