calvin
1
i dont know what to put at else hero.moveXY(40, 23)
while True:
evilstone = hero.findNearestItem()
if evilstone:
pos = evilstone.pos
if pos.x == 34:
hero.moveXY(46, 22)
if evilstone:
if pos.x ==46:
hero.moveXY(34, 23)
else:
hero.moveXY(40, 23)
can you please give the link to this level?
then why did u tick solve?
calvin
8
sorry i didnt know what it does
what i did for your code was delete
this line
and then
change that to elif
if not then(i can’t help you cause i have to go off sry)
calvin
11
i know what to do now it was one thing hat i did rong
system
Closed
12
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.