# "Repeat 10 times" not working and I'm not sure why in spritelab

**URL:** https://forum.code.org/t/repeat-10-times-not-working-and-im-not-sure-why-in-spritelab/39056
**Category:** Uncategorized
**Created:** [February 23, 2024, 7:39am UTC](https://forum.code.org/t/repeat-10-times-not-working-and-im-not-sure-why-in-spritelab/39056 "2024-02-23T07:39:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![joe.dewhurst](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@joe.dewhurst](https://forum.code.org/u/joe.dewhurst)
#### Post date: [February 23, 2024, 7:39am UTC](https://forum.code.org/t/repeat-10-times-not-working-and-im-not-sure-why-in-spritelab/39056/1 "2024-02-23T07:39:11Z")

</div>

Hi,

Just wondering why this isn’t repeating hello world 10 times when I press space

> **[Check out what I made](https://studio.code.org/projects/spritelab/DcIJnxq4Dpr0UkG5dRCOL9rr4JI2p5JsLIe2rmqTaE4)**
>
> I wrote the code myself with Code.org

![image](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/5/554fc89e83d6835bd3790188291bdc13537d795d.png)

If you can help, I’d be very grateful,

Thanks,

Joe

---

<div class="post-metadata">

### Author: ![mkmietowicz](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mkmietowicz/32/6322_2.png) [@mkmietowicz](https://forum.code.org/u/mkmietowicz)
#### Post date: [February 26, 2024, 4:29pm UTC](https://forum.code.org/t/repeat-10-times-not-working-and-im-not-sure-why-in-spritelab/39056/2 "2024-02-26T16:29:46Z")

</div>

Hi @joe.dewhurst,

Great question. I tried it out and had the same issue. I’ve passed the issue along to the CS Discoveries team to see if they have any ideas.

Thanks,  
Michael K.

---

<div class="post-metadata">

### Author: ![joe.dewhurst](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@joe.dewhurst](https://forum.code.org/u/joe.dewhurst)
#### Post date: [March 1, 2024, 7:23am UTC](https://forum.code.org/t/repeat-10-times-not-working-and-im-not-sure-why-in-spritelab/39056/4 "2024-03-01T07:23:13Z")

</div>

Thanks so much for this. I thought I was going a bit nuts.

Cheers!

Joe
