Ad
  • Default User Avatar
    • the code should b inside the brackets of the function block
    • the value x is not defined
    • alert is not defined, but really meanwhile:
    • you need to return the value, not print it
  • Default User Avatar

    Hi @AndMkh7, please always use the spoiler tag when posting code, otherwise everyone can see it (I have added the tag).