Hi I am sorry for being such a frequent poster but I just cant figure some of these things out, anyways I am having problems with the fact that I finish the code to the best of my ability and it looks perfect… but then BOOM! it just says there is an error with your code I will paste my code as well as a screen shot. thanks for all the help people!
# Get two secret true/false values from the wizard. # Check the guide for notes on how to write logical expressions. hero.moveXY(14, 24) secretA = hero.findNearestFriend().getSecretA() secretB = hero.findNearestFriend().getSecretB() # If BOTH secretA and secretB are true, take the high path; otherwise, take the low path. secretC = secretA and secretB if secretC: hero.moveXY(20, 33) else: hero.moveXY(20, 15) hero.moveXY(26, 24) # If EITHER secretA or secretB is true, take the high path. if secretA or secretB == true: hero.moveXY(38, 24) # If secretB is NOT true, take the high path. if secretB == not true: hero.moveXY(50, 24)