Another way to say "playing basketball is for fun." is "Basketball is fun to play."