Build a Salary Tracker - Step 4

Tell us what’s happening:

i am doing workshop (build a salary tracker )step 04 is not passing and going to next step eventhough i am following instructions very caustiously and also i took help from ai chatbots but still i am not figuring what’s the problem

Your code so far


# User Editable Region

class Employee:
    def __init__(self, name, level):
        self._name = name
        self._level = level

    def __str__(self):
        return f"name: {self._name}, level: {self._level}"

charlie_brown = Employee('Charlie Brown', 'trainee')
print(charlie_brown)

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36

Challenge Information:

Build a Salary Tracker - Step 4

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-salary-tracker/68c27eb292bfec6b9402d58f.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @nummbff804,

You’re very close. You were asked to print in this format, right?

name: level

Please try again.

Happy coding