Feb-10-2021, 10:29 PM
(Feb-10-2021, 10:15 PM)BashBedlam Wrote: First, radius is going to be a string and you want an integer.
It's correct that input returns
str
but radius can be integer as well as float.For OP I suggest to follow conventions set in PEP8 for function naming (circle_area).
Regarding original question:
>>> def my_func(): ... print('This is my_func') ... >>> my_func <function my_func at 0x7fce15136c10> >>> my_func() This is my_func
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.