Ask coding questions

← Back to all posts
why does not it work?
IslamBekkul (0)

import canvas
import time
canvas.claer()
x = 0
while x < 350:
if x > 350: break
canvas.fill_rect(x, 100, 50, 50)
x += 2
canvas.draw()
time.sleep(0.01)

Comments
hotnewtop
JULIODIAZ1 (46)

maybe because u spelled canvas.clear wrong