12/15 I feel Like I'm Losing My Mind


#1

5

Any help here?


#2

Same i feel like im losing my mind to!! Mods to the Rescue!

@zystvan @albionsrefuge @mtf @jacobsandersen @leonhard_wettengmx_n


#3

Perhaps try not printing the result?

That will force it to just return, without printing the result. If that works, then I would say this is a grading test bug and that it might be advantageous for the course developer(s) to review.


#4

I had the same thought, but it still doesn't work. Glad to hear though that this isn't on me, though :smile:


#5

What are the exact course instructions, please?


#6

In the editor you'll see two functions. Don't worry about anything unfamiliar. We'll explain soon enough.

Replace the underline on line 2 with an expression that returns True.
Replace the underline on line 6 with an expression that returns True.
If you do it successfully, then both "Success #1" and "Success #2" are printed.

Hint:
Here's an example to remind you of the syntax:

def true_function():
if 1 < 2:
return True
Don't forget the colon at the end of the line!


#7

I think it wants you to print "Success #1" and "Success #2" rather than returning (although the instructions are a bit unclear).

Can you try that for me?

Also perhaps print in addition to returning?


#8

Yay! Thank you so much for your help and kind attention


#9

Good job.

Sorry about those unclear instructions.


#10

It makes sense from this side now. :smile: