<commit_before>package org.teachingkidsprogramming.section02methods;

import org.teachingextensions.logo.Tortoise;

public class FourSquare
{
  public static void main(String[] args)
  {
    Tortoise.show();
    //  Make the tortoise move as fast as possible --#7
    //  Do the following 4 times --#8.1
    //      drawSquare (recipe below) --#6.1
    //      ------------- Recipe for drawSquare --#6.2
    //      Do the following 4 times --#5.1
    //          Change the pen color of the line the tortoise draws to a random color --#3
    Tortoise.setPenColor(i);
    //          Turn the tortoise 90 degrees to the right --#4
    //      End Repeat --#5.2
    //      ------------- End of drawSquare recipe --#6.3
    //      Turn the tortoise 90 degrees to the right --#9
    //  End Repeat --#8.2
  }
}<commit_msg>Edited FourSquare.Java<commit_after>package org.teachingkidsprogramming.section02methods;

import org.teachingextensions.logo.Tortoise;
import org.teachingextensions.logo.utils.ColorUtils.PenColors;

public class FourSquare
{
  public static void main(String[] args)
  {
    Tortoise.show();
    //  Make the tortoise move as fast as possible --#7
    //  Do the following 4 times --#8.1
    //      drawSquare (recipe below) --#6.1
    //      ------------- Recipe for drawSquare --#6.2
    //      Do the following 4 times --#5.1
    Tortoise.setPenColor(PenColors.getRandomColor());
    Tortoise.move(50);
    //          Turn the tortoise 90 degrees to the right --#4
    Tortoise.turn(90);
    //      End Repeat --#5.2
    //      ------------- End of drawSquare recipe --#6.3
    //      Turn the tortoise 90 degrees to the right --#9
    //  End Repeat --#8.2
  }
}
{'fraction_non_alphanumeric': 0.1446280991735537, 'fraction_numerical': 0.032467532467532464, 'mean_word_length': 1.8924914675767919, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1218156', 'n_tokens_mistral': 556, 'n_tokens_neox': 532, 'n_words': 164}