I want to export and use numbers in a string in Python 3.
for example
_input = input()
>? circle(5)
I want to export and use 5 as float here.
I tried to use _input.split('circle(') but it makes a list with 2 elements ['', '5)'] I tried to use _input.split(')') an, it makes another list with 2 elemtens ['circle(5', '']
Is there any module that helps me to do it or I should use split in another way ?
After this, what if I want to use 2 numbers ?
for example
_input = input()
>? circle(5,3.14)
or
_input = input()
>? circle(5, 3.14)
and then multiply this numbers ( 5 * 3.14 )