THE DEV BENCH
📄 YAMLeasy

2. A YAML list

Write a YAML mapping with a key "ports" whose value is a list of three numbers: 80, 443, 8080. Use the block (dash) style.

How to approach this

A YAML block sequence is a set of `- item` lines, each indented under its key. `ports:` then on the next lines ` - 80`, ` - 443`, ` - 8080`. (The inline flow style `[80, 443, 8080]` also works — YAML is a superset of JSON.)

config.yaml