Python Lists, Part 2
For Loops
As discussed in Part 1, a simple for loop will iterate through a sequential type value.
# Iterate through a list or string
name = "josh"
for n in name:
i
# OUTPUT:
# 'j'
# 'o'
# 's'
# 'h'
map()
The map() feature offers an altern...
itsjoshcampos.codes3 min read