DEV Community

Cover image for Workaround Complex code when you miss some concepts
Mihsa Idebus
Mihsa Idebus

Posted on • Originally published at dev.to

Workaround Complex code when you miss some concepts

Sometimes if you miss some simple concepts code will be overly complex to workaround. For making code work in this dictionary comprehension exercise where elements of value of key which where inside list could be easily accessed (which was unfamiliar to me until now) to workaround it I made code overly complex.(>_<)
dictionary comprehension solution
In short it is good thing to search around to see if same thing can be done efficiently and in more simpler way

Top comments (0)