# New to Arrays, help making a simple less than 10 lines code

**URL:** <https://discourse.processing.org/t/new-to-arrays-help-making-a-simple-less-than-10-lines-code/43147>\
**Category:** Beginners\
**Created:** [November 5, 2023, 3:10am UTC](https://discourse.processing.org/t/new-to-arrays-help-making-a-simple-less-than-10-lines-code/43147 "2023-11-05T03:10:18Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [November 5, 2023, 12:54pm UTC](https://discourse.processing.org/t/new-to-arrays-help-making-a-simple-less-than-10-lines-code/43147/4 "2023-11-05T12:54:21Z")

</div>

Hello @beginn,

> [@beginn](#):
>
> Then what?

Take a step back before taking a step forward.  
What’s first?

Read and follow the guidelines listed here before posting and asking questions:  
[Welcome to the Processing Foundation Discourse](https://discourse.processing.org/t/welcome-to-the-processing-foundation-discourse/8)

Know what resources are available to you.  
The Processing website is a good start and has tutorials, references, examples here:  
[https://processing.org/](https://processing.org/)

Next?

Break it down into steps.  
First and foremost learn and understand each point that is asked (you can do a search on site above for each of these):

- array
- loop
- print
- random

Once you understand each of the above take the next step and piece it together.

The odd indices may be a challenge for a beginner. Seek and you shall find.

Another reference:  
[Creative Coding for Beginners - Full Course!](https://www.youtube.com/watch?v=4JzDttgdILQ&t=1800s)  
I linked it to what I consider good advice for a beginner… be sure to start at the beginning.

After all that is said and done try to write the code from scratch to reinforce the concepts you have learned.

`:) `

---

_[View the full topic](https://discourse.processing.org/t/new-to-arrays-help-making-a-simple-less-than-10-lines-code/43147)._
