Instead of writing many if else statements I'm thinking someone smart may have a better logic for this.
inp = input("Type comma separated US state code(s)")
Logic to execute a block of code if inp is "MA". If inp is "MA, CA, MN" it will execute a block of code under MA, CA, and MN.
You can imagine inp could be 1 state or any combination of 50 states. Logic would execute a block of code written for each state
Writing program in python