1. Engineering
2. Computer Science
3. can someone please explan fo me whats wrong with my...

# Question: can someone please explan fo me whats wrong with my...

###### Question details

CAN SOMEONE PLEASE EXPLAN FO ME WHATS WRONG WITH MY CODE WHEN EVEN I RUN IT IT GIVE ME THIS MASSAGE IM USING python BTW

Traceback (most recent call last):

File "../resource/asnlib/public/RUN.py", line 20, in <module>

exec(source_code, dict())

File "<string>", line 60, in <module>

NameError: name 'total_rough_sod' is not defined )

from math import pi

length = float(input('Enter Course Length:'))
width = float(input('Enter Course Width:'))

def calculate_smooth_sod(width):

def calculate_sand_trap_area(width):
return sand_trap_area

def calculate_rough_sod(length, width, total_smooth_sod, sand_trap_area):
total_area= length*width
total_rough_sod= total_area-total_smooth_sod-sand_trap_area

def calculate_bricks(width):
length_of_brick_wall= pi*(width*3/6)
number_of_bricks= length_of_brick_wall*3
return number_of_bricks

def calculate_sand(width):
width_in_ft= width*3
total_sand=(sand_trap_area*100)/2000

def calculate_bushes(length, width):
perimeter=2*(length+width)
total_bushes=perimeter-2

def calculate_total_time(total_rough_sod, total_smooth_sod):
total_time=(total_rough_sod*0.5)+(total_smooth_sod)