I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Menu
Simple traversal

Learn

In this lesson you will look at how you can travel across “traverse” a string. We will look at using while loops and for loops in order to do this. You are able to use either in your code.

Try

Run the code below and understand what it is doing.

1)Add two more words “range” and “house” into the program.

2)Update the print statement so you get the output on the right.

Tasks to try

Comments are closed.

Information