Episode 9 – Arrays and Loops

The Code Snippets Podcast
The Code Snippets Podcast
Episode 9 - Arrays and Loops
/

In this episode i talk about Arrays and Loops

For loops

fruits = ["apple", "banana", "cherry"]
for x in fruits:
  print(x)

While Loops

i = 1
while i < 4:
  print(Hello World)
  i += 1