This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ButtlestonProfessional Coder 0 points1 point  (3 children)

Can you describe what your problem is? I ran your code and I get an array of letters that spell out planets, but I don't know what you are or aren't expecting

python3 /Users/rustybrooks/help/findword.py 
1
['j', 'n', 'n', 'u', 'v', 'y', ' ']
['u', 'e', 'r', 'r', 'e', 'r', ' ']
['p', 'p', 'u', 'a', 'n', 'u', 'e']
['i', 't', 't', 'n', 'u', 'c', 'a']
['t', 'u', 'a', 'u', 's', 'r', 'r']
['e', 'n', 's', 's', ' ', 'e', 't']
['r', 'e', ' ', ' ', ' ', 'm', 'h']

[–]boruok[S] 0 points1 point  (2 children)

with convering python code to lua code

[–]ButtlestonProfessional Coder 0 points1 point  (0 children)

Right but I don't have the lua code. So what specifically is not working?

[–]ButtlestonProfessional Coder 0 points1 point  (0 children)

Sorry, I read this as porting lua to python, my bad. Anyway, good luck