π Dictionaries π Conditionals π₯ Input

Part A: Set up:
robux = 20000catalog dictionaryinventory = {"Rainbow Wings": 8000, "Golden Crown": 12000}Part B: Ask what item to sell:
if item in inventory:sell_price = inventory[item] // 2del inventory[item]Part C: Print updated inventory
Example Output:
You have 20000 Robux
Your inventory: {'Rainbow Wings': 8000, 'Golden Crown': 12000}
What item do you want to sell? Rainbow Wings
You sold Rainbow Wings for 4000 Robux!
You now have 24000 Robux
Your inventory: {'Golden Crown': 12000}
β Standard library: heapq, collections, itertools, math, random, functools, datetime, bisect
β Functions, classes, recursion, print()
β No file system, subprocess, OS access, or network requests
β No pip install (all supported modules are pre-loaded)
β±οΈ 5 second execution time limit