The Iliad and the Odyssey were both attributed to Homer in ancient times  But these two poems differ greatly in tone and vocabulary and in certain details of the fictional world they depict
So they are almost certainly not the work of the same poet
Works known to have been written by the same modern writer are as different from each other in the respects mentioned as are the Iliad and the Odyssey.