Ask coding questions

← Back to all posts
I have trouble running this line of code. Can anyone help?
m314n13 (0)

def main():
print_until(5)
l1 = [1,3,5,7]
l2 = [3,1,9,7]
list_of_lists = [
['where', 'is', 'the'],
['super', 'duper', 'secret', 'word'],
['i', 'can', 'find']
]
secret_item = random.randint(list_of_lists[0])
find_secret(secret_item)

main()

Commentshotnewtop
heyitsmarcus (282)

You're missing at least two function calls here: print_until and find_secret. Please post and format your code into a repl and then paste the URL back here. Thanks!

c4syner (22)

What kind of error are you getting exactly?
That code there wont run now because of indentation issues, however I'm assuming you know that and it's an artifact of copy and pasting.

Do you have an repl that you can link to?

m314n13 (0)

@c4syner TypeError: randint() missing 1 required positional argument: 'b'