OK so I am back again with my Unicorn pHAT issues and I am following the official Pimoroni tutorial and i follow it just as it is. So i have put this in so far
import unicornhat as uh
uh.set_layout(uh.PHAT)
for x in range(8):
for y in range(4):
uh.set_pixel(x, y, 0, 255, 255)
uh.show()
Now the problem I’m getting is as I put in uh.show() it gives me a syntax error like this
File "<stdin>", line 4
uh.show()
^
SyntaxError: invalid syntax
I don’t get why this is wrong so can someone please help me as this is the same as what it says to do and I am still a beginner for coding I think. Thank You.