Lab 0

Python Lab Report Example

Lab Description:

This is lab 0.

Code:




>>> miles = 26.2
>>> miles * 1.61
42.182000000000002
>>> miles / 6

More Code!!!

def backward(x):
    index=-1
    length=(-1*len(x))
    while index >= length:
        letter = x[index]
        print (letter)
        index = index -1
print (backward("dg4346534"))

Screenshots:

This section contains screenshots showing your program running. First save the image, then upload it, and then insert it into the post. Below you will see an example:

python screenshot

Leave a Reply

Your email address will not be published. Required fields are marked *