OCR GCSE (9-1) Computer Science Scratch Explanation …

The for loop will loop for a set number of times as defined by the range() function. In this example we print a string then print 5 times the string “Knight” followed by the value for i. ... In this example we define a list of Monty Python characters and then loop through the list printing each one. py_chars = ['The Announcer', 'Mr Badger ... ................
................