0 out of 464 challenges solved

Check Tuple Duplicates

Write a Python function `check_distinct(test_tup)` that takes a tuple `test_tup` as input and returns `True` if the tuple contains no duplicate elements, and `False` otherwise.

#### Example Usage
```python [main.nopy]
print(check_distinct((1, 2, 3, 4)))  # Output: True
print(check_distinct((1, 2, 3, 1)))  # Output: False
```

#### Constraints
- The input will always be a tuple.
- The elements of the tuple can be of any hashable type.
def check_distinct(test_tup):
    """
    Check if the given tuple contains no duplicate elements.

    Args:
        test_tup (tuple): The tuple to check.

    Returns:
        bool: True if no duplicates, False otherwise.
    """
    # Placeholder for the solution
    pass