To create a tuple with just one element, you must include a trailing comma after the element. Without the comma, Python treats it as a regular value in parentheses.
Example: single_element = (42,) # This is a tuple
Not a tuple: just_a_number = (42) # This is just an integer