Page 35 - Touchcode_C8_Flipbook
P. 35
Applied Project
To check if a number is positive, negative or zero
To perform the task, follow these steps:
Step 1: Visit the link: https://arcade.makecode.com/
Step 2: Write the name of your project as ‘Number check’ and click on ‘Create’.
Step 3: Choose ‘Python’ as an Editor and write the following code:
Higher Order Thinking Skills (HOTS)
Write a program to determine if an entered number is a fraction or a whole number.
Teacher’s Corner
1. Discuss the concept of loops with students.
2. Tell students some examples of exit criteria that is used in our day-to-day life.
Get Creative with Loops 33

