<commit_before>function Myfunction(num:number):void{

    var a, b, c: number;
    var star, space, final: string;

    for (a = 0; a < num; a++) {
        star = "";
        space = "";
        final = ""

        for (b = 0; b < (num - a - 1); b++) {
            space += " ";
        }

        for (c = 0; c < (2 * a + 1); c++) {
            star += "*";
        }

    final = space + star;
    console.log(space + star);
    }   
}

    var x:string = process.argv[2]
    Myfunction(parseInt(x));<commit_msg>Finish Homework 2<commit_after>function Myfunction(num:number):void{

    var a, b, c: number;
    var star, space, final: string;

    for (a = 0; a < num; a++) {
        star = "";
        space = "";
        final = ""

        for (b = 0; b < (num - a - 1); b++) {
            space += " ";
        }

        for (c = 0; c < (2 * a + 1); c++) {
            star += "*";
        }

    final = space + star;
    console.log(space + star);
    }   
}

var x:string = process.argv[2]
Myfunction(parseInt(x));
{'fraction_non_alphanumeric': 0.185546875, 'fraction_numerical': 0.0146484375, 'mean_word_length': 1.543424317617866, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7066497', 'n_tokens_mistral': 374, 'n_tokens_neox': 352, 'n_words': 97}