I know this is very basic, I’m new to Python. What’s the problem with the below, is it even close to being correct? Thanks

def circle_calc(x,y):
return (x*y)
y = 3.14
x = input("Input number ")
print (circle_calc)

Traceback (most recent call last):
File “main.py”, line 13, in
x = input(int("Input number "))
ValueError: invalid literal for int() with base 10: 'Input number ’

That line is asking for a representation of the function object. It is not an invocation.

We should note that the function expects x and y to receive values in the argument list of the function call. The values need to be passed into the function, not assigned locally.

def circle_calc(x, y):
return x * y
print (circle_calc(10, 3.14)) # 31.4

One might have some preparation in advance of the call…

from math import pi as PI
diameter = int(input('Input diameter: '))
print (circle_calc(diameter, PI))