Lab 0- Introduction

Lab Description:

This is an example how my lab reports should look like. The first item is a lab description in my own words of what the lab is about and how I did it, followed by the source code, and finally the screenshots. I correctly display the source code and I made sure that when I created my page, I switched to the HTML view and surround the code with the tags <pre> </pre>. The <pre> HTML tag is used for pre-formatted text, so it will respect indentation, spaces, tabs, etc. If I did not use it this code will be hard to read. Using the <pre> HTML tag (or equivalent formatting) is mandatory.

Code:

title = 'this is a string'
index = 0
result = ''
while index < len(title):
    letter = title[index]
    result = result + letter 
    index = index + 1
print (result)

Screenshots:

This section contains screenshots showing my program running. If the image is not too big, you will be able to just copy/paste it as using a word processor. If it’s too big, then you can either reduce it’s size or upload it and the insert it into the post.