Dec-19-2020, 05:40 PM
(Dec-19-2020, 11:28 AM)buran Wrote: What have you tried? We are glad to help, but we are not here to do your homework for you. Read Homework and No Effort Questions
Please, post your code (in code tags) and ask specific questions. Don't forget to include the full traceback (in error tags) if you get one.
One I tried is this one:
def mytriangle (base, height):
print ("The base is ", base)
print ("The height is ", height)
base (10)
height (15)
myarea = base * height / 2
This function gives me error