Ask coding questions

← Back to all posts
Python "Builtin_function_or_method" error! Help!
DragoniteDL (1)

Can someone help me find out what's wrong with my code? I'm generally new at python, so I don't really know a lot, but shouldn't this have worked on the previous repl.it versions?

link: https://repl.it/@DragoniteDL/Code-Cracker-WIP

Answered by Lord_Poseidon (111) [earned 5 cycles]
View Answer
Commentshotnewtop
Lord_Poseidon (111)

It's len(code) and not len[code] Note this parenthesis and the square brackets

DragoniteDL (1)

Thanks for helping!