Https://www.codecademy.com/courses/learn-python/lessons/introduction-to-classes/exercises/this-looks-like-a-job-for


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python

Replace this line with your code.

<do not remove the three backticks above>

https://www.codecademy.com/courses/learn-python/lessons/introduction-to-classes/exercises/this-looks-like-a-job-for

#2

what is your question, code and error message? Without this information its difficult to help

the exercise url will just load my own code


#3

please suggest where am i wrong?


#4

i can’t access the exercise yet, given i have to redo everything (new enviroment), what are the instructions?

well, on line 19 hours is a undefined variable, maybe give your partime employee a name instead? like "milton", creating an instance will call init method, so you have to satisfy employee_name parameter of init method on line 3


#5


#6

well, then i covered the problem, when creating the partTimeEmployee instance, the argument should be a name (of type string), not a undefined hours variable


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.