I have attached the question, but finding it difficult to attach the original 'debug_lab.py' file. But I've attached as doc, I'm not sure if it will work copying it to Python.
# -*- coding: utf-8 -*-
"""
Created on Mon Jun 12 16:47:35 2014
@author: Struggling Student
"""
import math
#0
z = range('zero','one hundred')
print(z)
#1
print(math.sqrt('121'))
#2
y = 2
z = x + y
print(z)
#3
string1 = 2
string2 = 'plus'
print(string1 + string2 + string1)
#4 - solution to a problem in Exam 2!
#No need for try/catch around the function def, only where its called
def exam2(startyr):
sq = startyr ** 2
for num in range(1888,0,-100):
sq = sq-(num**2)
print(num)
start = '1988'
exam2(start)
#5
number = 123456
number.isdigit()