Skip to content

Opening book details…

Can I read Python Lab Exercise: Selection Structures on EtoBox?

Python Lab Exercise: Selection Structures by Andrjstne Sales is a document available to read on EtoBox.

What is Python Lab Exercise: Selection Structures about?

This document provides instructions for a Python programming lab exercise on selection structures. It includes 4 problems to solve involving if/else conditional statements. Students are asked to write Python code to: 1) check if two integers are equal or their sum/difference is 5, 2) compute the area of a triangle given the base and height, 3) compute the sum of three integers but return zero if two are equal, and 4) compute the sum of two integers but return 20 if the sum is between 15-20. The document als

Author
Andrjstne Sales
Language
EN

More by Andrjstne Sales

Browse all works by Andrjstne Sales