dsC# dictionary check if key exists This is a Python Program to check if a given key exists in a dictionary or not. Problem…byJohn