Python Write Better Python Cleaner Code Function and Class Whitespace

Paul Ehizuelen Jr.
Paul Ehizuelen Jr.
4,379 Points

Can anyone find where I may have altered the code?

Continuous "Bummer! Don't change the code, just fix the whitespace" but I'm not convinced I have changed the code. Any insight to why it keeps happening?

starter.py
def first_function(arg1):
    return 'arg1 is {}'.format(arg1)


def second_function(arg1):
    return 'arg1 is {}'.format(arg1)


class MyClass:
    args = [1, 2, 3]

    def class_func(self):
        return self.args
Stuart Wright
Stuart Wright
41,100 Points

I just tried this challenge and get the same error message. I'm convinced that I didn't change any of the code either. I think this might be a bug.

Tobias Wollmann
Tobias Wollmann
5,902 Points

I got the same error and I haven't changed the code either.

Paul Ehizuelen Jr.
Paul Ehizuelen Jr.
4,379 Points

Already submitted to support team. They are working on it! Thanks for the responses.

Tobias Wollmann
Tobias Wollmann
5,902 Points

I'm stuck with this task. Already finished the rest in this course and can't move on to the next :-(

2 Answers

Steven Parker
Steven Parker
207,602 Points

I think you've found a bug. :beetle:

You may want to report this to Support, it might get you a "special Exterminator badge".

Paul Ehizuelen Jr.
Paul Ehizuelen Jr.
4,379 Points

I figured, thank you for the response! I've gone ahead and submitted a request with them.

Steven Parker
Steven Parker
207,602 Points

Yay, bug fixed. But.. it doesn't look like you got the badge ?

Paul Ehizuelen Jr.
Paul Ehizuelen Jr.
4,379 Points

i did not, should I send and email?

Steven Parker
Steven Parker
207,602 Points

Sure, you should get one unless someone else reported it first.