# Build a User Configuration Manager - Build a User Configuration Manager

**URL:** <https://forum.freecodecamp.org/t/build-a-user-configuration-manager-build-a-user-configuration-manager/775269>\
**Category:** Curriculum Help\
**Tags:** python\
**Created:** [January 24, 2026, 11:21am UTC](https://forum.freecodecamp.org/t/build-a-user-configuration-manager-build-a-user-configuration-manager/775269 "2026-01-24T11:21:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![beroli0394.2](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/beroli0394.2/32/379346_2.png) [@beroli0394.2](https://forum.freecodecamp.org/u/beroli0394.2)\
**Post date:** [January 24, 2026, 11:21am UTC](https://forum.freecodecamp.org/t/build-a-user-configuration-manager-build-a-user-configuration-manager/775269/1 "2026-01-24T11:21:40Z")

</div>

### Tell us what’s happening:

I can’t get past tests 25, 26 and 27 and I don’t understand why

### Your code so far

```py
test_settings= {'theme':'dark', 'notifications': 'enabled', 'volume': 'high' }
def add_setting(settings, key_value_pair):
    key = key_value_pair[0].lower()
    value = key_value_pair[1].lower()
    if key in settings.keys():
        return f"Setting '{key}' already exists! Cannot add a new setting with this name."
    else:
        settings[key] = value
        return f"Setting '{key}' added with value '{value}' successfully!"

def update_setting(settings, key_value_pair):
    key = key_value_pair[0].lower()
    value = key_value_pair[1].lower()
    if key in settings.keys():
        settings[key] = value
        return f"Setting '{key}' updated to '{value}' successfully!"
    else:
        return f"Setting '{key}' does not exist! Cannot update a non-existing setting."

def delete_setting(settings, key):
    key = key.lower()
    if key in settings.keys():
        settings.pop(key, '0')
        return f"Setting '{key}' deleted successfully!"
    else:
        return "Setting not found!"

def view_settings(settings):
    if settings == {}:
        return "No settings available."
    else:
        print("Current User Settings:")
        for key, value in settings.items():
            print (f"{key.capitalize()}: {value}")
        print ('\n')
print(view_settings(test_settings))

```

### Your browser information:

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

### Challenge Information:

Build a User Configuration Manager - Build a User Configuration Manager

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/python-v9/lab-user-configuration-manager/build-a-user-configuration-manager)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![dhess](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dhess/32/406235_2.png) [@dhess](https://forum.freecodecamp.org/u/dhess)\
**Post date:** [January 24, 2026, 11:32am UTC](https://forum.freecodecamp.org/t/build-a-user-configuration-manager-build-a-user-configuration-manager/775269/2 "2026-01-24T11:32:37Z")

</div>

Do you see `None` in the console? What does `view_settings` `return` from the `else`?

---

<div class="post-metadata">

**Author:** ![mr.bha.zied](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mr.bha.zied/32/407988_2.png) [@mr.bha.zied](https://forum.freecodecamp.org/u/mr.bha.zied)\
**Post date:** [January 25, 2026, 4:48pm UTC](https://forum.freecodecamp.org/t/build-a-user-configuration-manager-build-a-user-configuration-manager/775269/3 "2026-01-25T16:48:33Z")

</div>

view\_setting, like others method you should use the return and not print

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [February 22, 2026, 4:48pm UTC](https://forum.freecodecamp.org/t/build-a-user-configuration-manager-build-a-user-configuration-manager/775269/4 "2026-02-22T16:48:52Z")

</div>

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