+ 1
if x = [1, 2, 3, 4, 5], what is the output of print(x[ : ])?
1. [ ] 2. [1, 2, 3] 3. [1, 2, 4, 5] 4. [1, 2, 3, 4, 5]
4 Réponses
+ 5
You can check in Sololearn Code Playground
+ 3
Invalid syntax.
Oh, you fixed ☺️, then the answer is: 4.
+ 2
the answer is 4