Using an entire dict for one elif/if statement
So im working on this project right now and there is part of it where I have an
elif [command typed] != [dict]: but I can't figure out how to use the whole dict so I don't have to type out like 30 more elif statements.
Why don’t you use a for loop to loop through the entire dict? Also next time can you specify what language.