Patent attributes
An electronic device includes a first housing including a first side surface, a second housing including a second side surface that may face at least a portion of the first side surface, a first magnet group disposed adjacent to the first side surface in the first housing and including a first designated pattern along a lengthwise direction, and a second magnet group disposed adjacent to the second side surface in the second housing and including a second designated pattern along a lengthwise direction, wherein the first designated pattern of the first magnet group and the second designated pattern of the second magnet group are alternately magnetized with an N pole or an S pole, and wherein the first housing and the second housing are coupled together to be rotatable by the first magnet group and the second magnet group.