Journal

This week I learned about looping and made an example code for a basic loop.

game_loop
for i in range(5):
print(“I will not chew gum in class.”)

This will output a basic string 5 times saying you will not chew gum.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s