Is there anyway to print between two print commands? For example I print sin(
and )
and between these parenthesis input amount of x
for some function like sin(x)
. Like this:
print("sin("
x=float(input())
print(")")
>>sin("""input""")
I need to print sin("
then get input and print the value of x
then print )
. To make clear I want to use print and input parallel.