CJCoding With Joseph
15per day

For Loop: Print Array Items

Use a for loop to print each item in the fruits array on its own line.

Array:
['apple', 'banana', 'orange']

Expected output:
apple
banana
orange

Steps:
1. Use the provided fruits array
2. Loop through the array with a for loop
3. Print each item

Expected Output:

apple
banana
orange
Topics:
LoopsArrays
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.