top of page
Search

PYTHON QUIZ

  • Writer: waclaw_koscielniak
    waclaw_koscielniak
  • Jun 19
  • 1 min read

def func(List, length):

print(List[length-1], end="")

func(List, length-1)

func([4, 3, 2, 1], 4)


[Running] python3 -u "/Users/name/test/test29.py"

12341234

IndexError: list index out of range

[Done] exited with code=1 in 0.054 seconds


Running error.
Running error.

















 
 
 

1 Comment


Guest
Jun 20

Did you look at it?

Like
bottom of page