3 odpowiedzi
+ 6
Yes, you can do
List = [1,2,3]
print((List[0]+List[1])*List[2])
+ 5
What do you want to do with python? Put a sample of the code or what you want to happen.
+ 1
It can create the calculation formulas from numbers and operators.
like this...
Input numbers are [1,2,3] & answer is [9]
Run code
output → (1+2)*3
I'm trying to create it now.