Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

What is wrong with my code I keep failing this level because i don't know how to assign r-value and what is r-value?


if 1+2=3self.moveXY (55,24)


More details needed. All I can tell you is that the code you posted should read:

if 1 + 2 == 3:
    self.moveXY(55, 24)

It is == instead of =
= saves information in variables
== sees if two things are the same

There is a : after the if statement

moveXY is on the next line and has 4 spaces in front of it