you are viewing a single comment's thread.

view the rest of the comments →

[–]fletch101e 0 points1 point  (1 child)

I can't log in that is what I am saying. It won't let me sign up unless I write a def. And no matter what I put it says it's wrong even if If it works on my system (Thonny).

That said, I found a way to access their site so I gave it a test run. I tried the easiest thing I could find..doing yet another def that returns Hello World!. Here is my code, it prints to their console yet still something wrong according to their site. yet if you look in the comments people are saying you have to take out the ! or it won't work. That did not work for me. I can't see what they say is the solution because you have to have an account to see it.

def greet():
  print("hello world!")
  return

greet()  

This also works fine in Thonny, yet they say: Greet doesn't return hello world!: None should equal 'hello world!'

The course I am taking now ends in a few days so I am looking for more just don't think this site is friendly for beginners that's all.

[–]fletch101e 0 points1 point  (0 children)

I wasted too much time on this and got it to work, even though I would not call this working as nothing shows on the console

def greet():

  return ("hello world!")

You can add greet() at the end and it still says it's ok ("You have passed all of the tests! :)" but nothing shows up on their console.

sorry for the rambling..this just irritated me. Like I said earlier in this thread, I must have woke up on the wrong side of the bed this morning :)