Write The Code In Python If You Cannot Answer All The Question Please

Write The Code In Python If You Cannot Answer All The Question Please