Write a function to identify if value is present inside a tuple or not


Topic: Write a function to identify if value is present inside a tuple or not

Solution

def check_tuplevalue(l:tuple, value)->bool:
    return value in l



List all Python Programs