from typing import Iterable


def wherevarinlist(var: str, vals: Iterable[str]) -> str:
    """Return str sql query for when variable value is in a list of values
    >>> wherevarinlist("STATE", ["FL", "GA", "SC", "NC"])
    "STATE In ('FL', 'GA', 'SC', 'NC')"
    """
    vals = [f"'{val}'" for val in vals]
    vals_str = f"({', '.join(vals)})"
    return f"{var} In {vals_str}"