Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- display_inventory()
- line = ""
- for x, y in inventory.items():
- line = f"{x}| {y}"
- print(line.rjust(6,""))
- return line
- "if__name__== "__main__":
- display_inventory()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement