JavaScript for (let i=0; i < arrayName.length; i++){ console.log(arrayName[i]) } i.e.): movies = ['legally blonde', 'Ms. & Ms. Smith', 'The Incredibles']; for (let i=0; i < movies.length; i++){ console.log(movies[i]) } Python for singular_array_name in array_name_pluralized: print(singular_array_name) i.e.): movies = ['legally blonde', 'Ms. & Ms. Smith', 'The Incredibles'] for movie in movies: print(movie)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter