Size and weight is a big decision factor when you are trying to find the ideal camera for your needs.
In this section, We are going to illustrate Canon 77D and Panasonic LZ40 side-by-side from the front, back and top in their relative dimensions. Canon 77D has external dimensions of 131 x 100 x 76 mm (5.16 x 3.94 x 2.99″) and weighs 540 g (1.19 lb / 19.05 oz) (including batteries). Panasonic LZ40 has external dimensions of 126 x 87 x 94 mm (4.96 x 3.43 x 3.7″) and weighs 524 g (1.16 lb / 18.48 oz) (including batteries).
Below you can see the front view size comparison of Canon 77D and Panasonic LZ40. Panasonic LZ40 is 5mm narrower and 13mm shorter than Canon 77D but it is also 18mm thicker. As you can tell, actually this is not a fair size comparison since Panasonic LZ40 has a built-in lens but Canon 77D doesn't. Once you put a lens on 77D, its thickness will increase significantly.
Now lets look at the top view comparison of Canon 77D and Panasonic LZ40.
Weight is another important factor especially when deciding on a camera that you want to carry with you all day.
Panasonic LZ40 is 16g lighter than the Canon 77D but we don't think this will make a significant difference.
Again, this comparison may not be very useful in real life as we are comparing the weight of a camera with a built-in lens to the body-only weight of an interchangeable lens camera. Once you put a lens on 77D, the total kit will weigh much higher.
Unfortunately neither Canon EOS 77D / EOS 9000D nor Panasonic Lumix DMC-LZ40 provides any type of weather sealing in their body, so you have to give extra care especially when you are shooting outdoors. If weather sealing is a must-have feature for you, check these sections: Top DSLR Cameras with Weather Sealing Top Bridge Cameras with Weather Sealing
LCD Screen Size and Features
Canon 77D and Panasonic LZ40's LCD screens has the same diagonal size of 3".
On the other hand, Canon 77D sports a Fully Articulated screen
which you can change the angle and position of the screen almost freely, making it possible to shoot from waist or over the head levels, and especially very useful for shooting selfies and video. Panasonic LZ40's LCD screen is a fixed type which provides almost no flexibility in shooting positions compared to 77D.