Skip to content

Commit

Permalink
Merge pull request #2236 from sudo-piko/main
Browse files Browse the repository at this point in the history
Remove whitespaces before colons in pythondemo.py
  • Loading branch information
nesbox authored Jul 31, 2023
2 parents 91b8d24 + 38acafd commit a787ba4
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions demos/pythondemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,26 @@
x=96
y=24

def TIC() :
global t
global x
global y

if btn(0) : y-=1
if btn(1) : y+=1
if btn(2) : x-=1
if btn(3) : x+=1

cls(13)
spr(
1+t%60//30*2,
x, y,
colorkey=14,
scale=3,
w=2, h=2
)
print("HELLO WORLD!", 84, 84)
t+=1

def TIC():
global t
global x
global y

if btn(0): y-=1
if btn(1): y+=1
if btn(2): x-=1
if btn(3): x+=1

cls(13)
spr(
1+t%60//30*2,
x,y,
colorkey=14,
scale=3,
w=2,h=2
)
print("HELLO WORLD!",84,84)
t+=1

# <TILES>
# 001:eccccccccc888888caaaaaaaca888888cacccccccacc0ccccacc0ccccacc0ccc
Expand Down

0 comments on commit a787ba4

Please sign in to comment.