So.. I have a very simple code structure so far:
1. Create mime_type dictionary with 'ext' and 'mt' as mime_type[ext]=mt
2. For each fname isolate 'extension' using .split() and .lower()
3. Then loop over key, value in mime_type.items():
- if key == extension --> print value
- else: print UNKNOWN
I tested that calling extension, mime_type, etc prints out the expected outputs to the console, however running the full code returns "UNKONWN" for the test.
Could anyone give me a hint of what would be the next steps please?