flag = hero.findFlag(“green”) / hero.findFlag(“black”) / hero.findFlag(“violet”)
You need the colour
Also try deleting the second line at the end where the error is. It probably won’t do anything but Python’s a bit fussy about blank lines and indentation and all that.
(Mark this as the solution and add fixed ( e.g. “[FIXED]”) to the title if it fixes the problem!)
Yeah, don’t press what Ritic said above, and it shouldn’t be able to sumbit without you doing something, so you probably pressed shift accidentally when using ctrl+enter or smth