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...

Markdown supported · ⌘↵ to post
No responses yet.