Ask coding questions

← Back to all posts
why does voidsetup(){ come up as a syntax error?
samhill12

the code starts with voidsetup(){ and the { is apparently a syntax error, could anyone help me out? ps i am new to coding
thanks

Voters
samhill12
Comments
hotnewtop
CodingElf66

That would be Javascript, not Python.

Can you mark this as answered? That way, people'll know what's correct!

Coder100

hello you appear to be using the wrong language for this. You are using python, but you should be using processing java, which replit doesn't purely support.

samhill12

ok thank you!!!
@Coder100

Coder100

np
mark as correct answer? @samhill12