@Venneth Sometimes when a turtle goes through a portal a line of solar panels apear behind the turtle.
Before"
After:
@Venneth Sometimes when a turtle goes through a portal a line of solar panels apear behind the turtle.
Before"
It ends at 9/1 00:00 PDT (GMT-07)
is there a difference between else and elif?
def AskGirlOnDateToDance(aGirl):
if aGirl.response == 'LOL no':
hero.Respond('I was just kidding')
hero.goPlayCodeCombat()
elif aGirl.response == 'ok':
hero.Respond('great')
hero.victoryDance()
else:
hero.AwkwardButNotTooCreepyVoice("Umm Hi...dances are weird")
In my experience, it’s usually
def AskGirlOnDateToDance(aGirl):
if not aGirl:
return
Or if the person in question is me:
def AskGirlOnDateToDance(aGirl):
if True:
return dont
girl = me.findNearestGirl()
if AskGirlOnDateToDance(girl) = dont:
me.sleep(86400)
or this It also happens very often, but if you are not sure whether it is present or not, there will be problems.
girl = me.findNearestGirl()
def AskGirlOnDateToDance(aGirl):
if aGirl:
return True
girl = me.findNearestGirl()
Wrong!!!!!
reason:no girls near u
oh yeah, i forgot to check if there is a girl
What is the speed of the turtles?
I printed it out and it said 12 normally and 18 when boosted tho I don’t know what the unit of measurment is.
Thanks! (20charssss)
Hey, what age group are you in if you are 11 years old? 0-11 or 11-14?
11-14. Why do you ask?
Sometimes when my turtle uses an ability and it’s right on the edge of the map he will just walk into the edge while using it. Can someone explain why this happens / recomend how to solve this problem please?
I think that your turtle won’t change directions when using abilities. So only using abilities when you are not on the edge of the map will fix your problem. This happens to me sometimes too.
Alright im just gonna aim for 30th in my bracket now.
How do I log values or variables?
Log? 20charsssssssssss
I tried to use hero.log(), but an error message came and said that I don’t have that method.