Both if and else dispatcher is getting out,,can anyone solve it for me please

Replace if name == "tablet" with elif name == "tablet". Also give this a read.

Thanks