Only 1 step away Time running out!


#1

Hello everyone, I know that there are lots of threads about section 5.3 step 16. I have been trying everything I can think of. I get either syntax errors, type errors or none. I cannot get this code to run properly. I have spent so much time on this. Is there anyone who can help?


#2

Post a copy of your code. We can’t help if we can’t see it.


#3

I’m having the same issue


#4

If I can see a copy of your code it would help. We help fix a problem we cant see.


#5

I can tell you the program they want is pretty much just like the last program step 10 and 11. It just a different math.


#6

Hello,

Could you please explain further?


#7

5.3 step 10 and 11. You had to write a program to get the circumference of a circle. 5.3 steps 15 and 16 you need to write a program to the the area of a circle. Same program different math.


#8

Thank you everyone for responding I am about to get a copy of my code and post it. It will be a few minutes though as I am going to try some of the advice already given


#9

def find_area(radius):
pi = 3.14
area = pi * radius ** 2
return area
user_input=int(input(“Enter the radius here:”))
print(find_area(int))

Traceback (most recent call last):
File “python”, line 6, in
File “python”, line 3, in find_area
TypeError: unsupported operand type(s) for ** or pow(): ‘type’ and ‘int’


#10

i think I just figured it out!


#11

@tlang1104 This solved my problem thank you!!!