ITSP121: Fun time with Python Edu_BLOCKS
SITE: [Link]
USE GOOGLE CHROME.
SIGN UP.
CREATE A PROJECT.
START BLOCK CODING.
SAVE YOUR WORK BY CLICKING ON THE SAVE BUTTON.
CREATE A ZIPPED FOLDER CONTAINING YOUR FILE.
NAME YOUR FILE: studentnumber_surname_assignmentname e.g
123456789_kiefer_assignment1
Class illustration activity
Write an algorithm that will determine and display the average of your first 2 test marks.
Read Mark1
Read Mark2
Average = (Mark1 + Mark2)/2
Write ‘The average is ‘,Average
Stop
Write an algorithm that will determine how many tests were written on a specific day
(there are an unknown number of tests). Assume that a negative number will end the
input of all tests.
Read Mark
Counter = 0
While (Mark >= 0) do
Counter = Counter + 1
Read Mark
EndWhile
Write Counter
Stop
Enjoy!!!!