$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #106

Fill in the blank

# returns a list of numbers 0,1,2,3,4
def first_five():
    return list(____(5))

Answer: range (also accepted: range, range())

range(5) yields the integers 0 through 4.
Play Problem Solving ▸