[color=#FF6666][b]while doing programming please concentrate on the
variable names...
while reading the data from std input device u use circumfrerence and
while calculating u r using circumfrance ... so it should be circumfrerence
QUOTE(chrishaizimsque @ 11 Oct, 2009 - 11:25 PM)

# ncit 106 - week 3 -a3-1.py
#a program to convert circumference of trees into diamaters
#
#chris haizimsque
#september 2009
print "******************************************************"
print " this program converts a mesurment of a tree's"
print " circumfrance to an estimate of its diamater"
print " (assuming the tree to be circular in cross-section ."
print " *****************************************************"
print
circumfrerence = input (' enter the circumference of the tree in centimeters: ')
diameter = circumfrance / 3.141592654
print
print "the tree's diameter is approximatley", diameter, "centemeteres."
print
done = raw_input ('press enter to exit. ')
but this is what i get back
Traceback (most recent call last):
File "C:/Python26/tree diameter.py", line 17, in <module>
diameter = circumfrance / 3.141592654
NameError: name 'circumfrance' is not defined