You are on page 1of 1

“Data Structures and Algorithms”

02 Hands-on Activity 1 – ARG

Instructions:
✓ 1. Study the syntaxes in this image file: sample.PNG
✓ 2. Go to this online IDE.
3. Create a Python script that will compare two (2) numbers entered by the user. Refer to the
attached image and to the following algorithm. There is no need to create a class similar to
how Java works.
3.1. User enters the first number.
3.2. User enters the second number.
3.3. If the first number is less than, greater than, or equal the second number, a message is
displayed.

4. Upload the .py file and a screenshot of your output.

You might also like